mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
now also resets used medication on init
This commit is contained in:
parent
6d01a00901
commit
1e377d460e
@ -63,10 +63,11 @@ _unit setvariable [QGVAR(isBleeding), false, true];
|
||||
_unit setvariable [QGVAR(hasPain), false, true];
|
||||
|
||||
// medication
|
||||
_allUsedMedication = _target getVariable [QGVAR(allUsedMedication), []];
|
||||
_allUsedMedication = _unit getVariable [QGVAR(allUsedMedication), []];
|
||||
{
|
||||
_unit setvariable [_x select 0, nil];
|
||||
}foreach _allUsedMedication;
|
||||
_unit setVariable [QGVAR(allUsedMedication), []];
|
||||
|
||||
_logs = _unit getvariable [QGVAR(allLogs), []];
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user