mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix medical AI activation (#6077)
This commit is contained in:
parent
f46082a1fe
commit
3c04d61a0d
@ -6,7 +6,7 @@
|
||||
if ((GVAR(enabledFor) == 1) && {!isServer} && {hasInterface}) exitWith {}; // 1: Don't Run on non-hc Clients
|
||||
|
||||
// Only run for AI that does not have to deal with advanced medical
|
||||
if (EGVAR(medical,enableFor) == 1 || {hasInterface && {EGVAR(medical,level) == 2}}) exitWith {};
|
||||
if (EGVAR(medical,level) == 2 && {EGVAR(medical,enableFor) == 1 || hasInterface}) exitWith {};
|
||||
|
||||
["ace_firedNonPlayer", {
|
||||
_unit setVariable [QGVAR(lastFired), CBA_missionTime];
|
||||
|
Loading…
Reference in New Issue
Block a user