Skip to content

Commit

Permalink
moved zeus creation to 2 seconds after mission start
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwaggot committed Feb 15, 2019
1 parent 539f973 commit 1632a54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions addons/common/XEH_postInitClient.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ enableRadio false;
//failsafe for missing curator interface:
if ( player isKindOf QEGVAR(faction_generic,blufor_command) || player isKindOf QEGVAR(faction_generic,opfor_command) || player isKindOf QEGVAR(faction_generic,indfor_command) ) then {
[] spawn {
systemChat "[KEKO] Adding Zeus in 2 seconds";
sleep 2;
waitUntil {time > 2};

if (isNull (getAssignedCuratorLogic player)) then {
player remoteExec [QFUNC(createZeus), 2];
Expand Down
2 changes: 0 additions & 2 deletions addons/common/functions/fnc_createZeus.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ if (!isMultiplayer && {!isNull findDisplay IDD_DISPLAY3DEN}) then {
removeAllCuratorAddons _zeus;
_zeus addCuratorAddons _addons;
};

"[KEKO] Added Zeus" remoteExec ["systemChat", _player];

0 comments on commit 1632a54

Please sign in to comment.