mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #4378 from acemod/disable-medical-ai-on-remotecontrol
Disable medical AI for remote controlled AI and players
This commit is contained in:
commit
e85abbe746
@ -13,7 +13,7 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
// Player will have to do this manually of course
|
||||
if (isPlayer _this) exitWith {};
|
||||
if ([_this] call EFUNC(common,isPlayer)) exitWith {};
|
||||
// Can't heal self when unconscious
|
||||
if (_this getVariable ["ACE_isUnconscious", false]) exitWith {};
|
||||
// Check if we're still treating
|
||||
|
Loading…
Reference in New Issue
Block a user