mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cleaned up event handler
This commit is contained in:
parent
bfce854be3
commit
8fe1a65207
@ -6,14 +6,14 @@ PREP(bi_moduleCurator);
|
||||
PREP(bi_moduleMine);
|
||||
PREP(bi_moduleProjectile);
|
||||
PREP(bi_moduleRemoteControl);
|
||||
PREP(contextualModules);
|
||||
PREP(handleZeusUnitAssigned);
|
||||
PREP(moduleCapture);
|
||||
PREP(moduleKnockout);
|
||||
PREP(moduleSurrender);
|
||||
PREP(moduleZeusSettings);
|
||||
|
||||
if (isServer) then {
|
||||
["zeusUnitAssigned", {_this call FUNC(contextualModules)}] call EFUNC(common,addEventHandler);
|
||||
["zeusUnitAssigned", FUNC(handleZeusUnitAssigned)] call EFUNC(common,addEventHandler);
|
||||
};
|
||||
|
||||
ADDON = true;
|
||||
|
Loading…
Reference in New Issue
Block a user