Fixed event handler

This commit is contained in:
Defent 2015-08-29 12:15:48 +02:00
parent ef822c5a28
commit 2998a01720

View File

@ -267,7 +267,8 @@ _skillArray = missionNamespace getVariable [format["DMS_ai_skill_%1",_difficulty
} count _skillArray;
// Ground unit
_unit addEventHandler ["Killed",{[_this, "soldier"] call DMS_OnKill;}];
//_unit addEventHandler ["Killed",{[_this, "soldier"] call DMS_OnKill;}];
_unit addEventHandler ["Killed",{[_unit, _group, "soldier"] call TargetsKilled;}];
_unit enableAI "TARGET";
_unit enableAI "AUTOTARGET";