mirror of
https://github.com/Teh-Dango/Sarge-AI.git
synced 2024-08-30 16:32:11 +00:00
HotFix
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:
parent
02d74ec337
commit
4f545a09a0
@ -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);};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user