Skip to content

Commit

Permalink
Merge pull request #21 from xeno-san/master
Browse files Browse the repository at this point in the history
Fixed incorrect event being assigned to an event handler
  • Loading branch information
Superxpdude authored Sep 25, 2017
2 parents e226b4b + 6ec60b3 commit f57fd65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/functions/curator/fn_curatorEH.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
_x addEventHandler ["CuratorObjectPlaced", {_this remoteExec ["XPT_fnc_curatorObjPlaced", 2]}];

// Add event handler to share placed groups between curators
_x addEventHandler ["CuratorObjectPlaced", {_this remoteExec ["XPT_fnc_curatorGrpPlaced", 2]}];
_x addEventHandler ["CuratorGroupPlaced", {_this remoteExec ["XPT_fnc_curatorGrpPlaced", 2]}];

// Add event handler to remove NVGs from spawned units
if ((getMissionConfigValue "XPT_curator_removeNVG") == 1) then {
Expand All @@ -33,4 +33,4 @@
[(group (_this select 1))] remoteExec ["XPT_fnc_headlessSetGroupOwner", 2];
}];
};
} forEach allCurators;
} forEach allCurators;

0 comments on commit f57fd65

Please sign in to comment.