Fixed assignMedicalEquipment module

This commit is contained in:
Thomas Kooi 2015-01-25 16:02:49 +01:00
parent 5f8a00a45f
commit 69c45cf54d

View File

@ -25,7 +25,6 @@ if (!isNull _logic) then {
waituntil {time>0};
_start = diag_tickTime;
waituntil {(["ACE_sys_medical"] call EFUNC(common,isModuleEnabled_F)) || (diag_tickTime - _start > 10000)};
if (!(["ACE_sys_medical"] call EFUNC(common,isModuleEnabled_F))) exitwith {};
// TODO Create functions for adding multiple magazines to a unit
@ -55,7 +54,6 @@ if (!isNull _logic) then {
player addItem "ACE_morphine";
};
// TODO make this neat code.
switch (_setting) do {
case ALL_PLAYERS: {