mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed assignMedicalEquipment module
This commit is contained in:
parent
5f8a00a45f
commit
69c45cf54d
@ -25,7 +25,6 @@ if (!isNull _logic) then {
|
|||||||
waituntil {time>0};
|
waituntil {time>0};
|
||||||
|
|
||||||
_start = diag_tickTime;
|
_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 {};
|
if (!(["ACE_sys_medical"] call EFUNC(common,isModuleEnabled_F))) exitwith {};
|
||||||
// TODO Create functions for adding multiple magazines to a unit
|
// TODO Create functions for adding multiple magazines to a unit
|
||||||
@ -55,7 +54,6 @@ if (!isNull _logic) then {
|
|||||||
player addItem "ACE_morphine";
|
player addItem "ACE_morphine";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// TODO make this neat code.
|
// TODO make this neat code.
|
||||||
switch (_setting) do {
|
switch (_setting) do {
|
||||||
case ALL_PLAYERS: {
|
case ALL_PLAYERS: {
|
||||||
|
Loading…
Reference in New Issue
Block a user