0Changed a piece of code that cause player rating variable to not
execute as intended. This resolves the issue of friendly AI not
recognizing a hostile player.
This commit is contained in:
Teh Dango 2016-03-26 10:40:19 -04:00
parent 02d74ec337
commit 4f545a09a0

View File

@ -22,7 +22,7 @@ call compile preprocessFileLineNumbers "sarge\SAR_config.sqf";
diag_log format["Sarge's AI System: Starting Sarge AI version %1",SAR_version];
if (!isServer || hasInterface) then {
if (!isServer && hasInterface) then {
"adjustrating" addPublicVariableEventHandler {((_this select 1) select 0) addRating ((_this select 1) select 1);};
};