mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed private array and added event listener
This commit is contained in:
parent
18998bb619
commit
15afb8846a
@ -10,6 +10,7 @@ GVAR(heartBeatSounds_Slow) = ["ACE_heartbeat_slow_1", "ACE_heartbeat_slow_2", "A
|
||||
GVAR(playingHeartBeatSound) = false;
|
||||
|
||||
["Medical_treatmentCompleted", FUNC(onTreatmentCompleted)] call ace_common_fnc_addEventHandler;
|
||||
["medical_propagateWound", FUNC(onPropagateWound)] call ace_common_fnc_addEventHandler;
|
||||
|
||||
// Initialize all effects
|
||||
// @todo: make this a macro?
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_unit", "_injury", "_openWounds", "_injuryID", "_exists"];
|
||||
_unit = _this select 0;
|
||||
_injury = _this select 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user