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:
BaerMitUmlaut 2016-09-12 17:09:26 +02:00 committed by GitHub
commit e85abbe746

View File

@ -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