mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Merge pull request #390 from dayzai/experimental
Prevent headless client from being handled as a player client
This commit is contained in:
commit
9a21f87a10
@ -1,7 +1,7 @@
|
|||||||
if !(isNil "Epoch_CStart") exitWith { false };
|
if !(isNil "Epoch_CStart") exitWith { false };
|
||||||
Epoch_CStart = true;
|
Epoch_CStart = true;
|
||||||
|
|
||||||
if (!isDedicated) then {
|
if (!isDedicated && hasInterface) then {
|
||||||
call compile preprocessFileLineNumbers "\x\addons\a3_epoch_code\init\both_init.sqf";
|
call compile preprocessFileLineNumbers "\x\addons\a3_epoch_code\init\both_init.sqf";
|
||||||
|
|
||||||
// Epoch Client Only function compiler
|
// Epoch Client Only function compiler
|
||||||
|
@ -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";
|
call compile preprocessFileLineNumbers "\x\addons\a3_epoch_code\init\client_init.sqf";
|
||||||
};
|
};
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user