diff --git a/Sources/epoch_code/init/fn_init.sqf b/Sources/epoch_code/init/fn_init.sqf index 40f916c8..3516078a 100644 --- a/Sources/epoch_code/init/fn_init.sqf +++ b/Sources/epoch_code/init/fn_init.sqf @@ -1,7 +1,7 @@ if !(isNil "Epoch_CStart") exitWith { false }; Epoch_CStart = true; -if (!isDedicated) then { +if (!isDedicated && hasInterface) then { call compile preprocessFileLineNumbers "\x\addons\a3_epoch_code\init\both_init.sqf"; // Epoch Client Only function compiler diff --git a/Sources/epoch_code/init/fn_postinit.sqf b/Sources/epoch_code/init/fn_postinit.sqf index 2e44d174..05d4f6d5 100644 --- a/Sources/epoch_code/init/fn_postinit.sqf +++ b/Sources/epoch_code/init/fn_postinit.sqf @@ -1,4 +1,4 @@ -if (!isDedicated && isMultiplayer) then { +if (!isDedicated && isMultiplayer && hasInterface) then { call compile preprocessFileLineNumbers "\x\addons\a3_epoch_code\init\client_init.sqf"; }; true