diff --git a/main_shared/maps/mp/bots/_bot_internal.gsc b/main_shared/maps/mp/bots/_bot_internal.gsc index 82bc0a7..657faa2 100644 --- a/main_shared/maps/mp/bots/_bot_internal.gsc +++ b/main_shared/maps/mp/bots/_bot_internal.gsc @@ -728,7 +728,7 @@ target() { player = level.players[i]; - if(!self IsPlayerModelOK()) + if(!player IsPlayerModelOK()) continue; if(player == self) continue; diff --git a/main_shared/maps/mp/bots/_bot_script.gsc b/main_shared/maps/mp/bots/_bot_script.gsc index 6fe8649..157bb90 100644 --- a/main_shared/maps/mp/bots/_bot_script.gsc +++ b/main_shared/maps/mp/bots/_bot_script.gsc @@ -137,7 +137,7 @@ bot_cry_for_help( attacker ) if(!isDefined(player.team)) continue; - if(!self IsPlayerModelOK()) + if(!player IsPlayerModelOK()) continue; if ( !IsAlive( player ) ) @@ -1498,7 +1498,7 @@ bot_revive_think() { player = level.players[i]; - if(!self IsPlayerModelOK()) + if(!player IsPlayerModelOK()) continue; if(!isDefined(player.pers["team"])) @@ -1715,7 +1715,7 @@ bot_think_follow() { player = level.players[i]; - if(!self IsPlayerModelOK()) + if(!player IsPlayerModelOK()) continue; if (player == self) @@ -2229,7 +2229,7 @@ bot_listen_to_steps() { player = level.players[i]; - if(!self IsPlayerModelOK()) + if(!player IsPlayerModelOK()) continue; if(player == self) @@ -2423,7 +2423,7 @@ bot_killstreak_think() { player = level.players[i]; - if(!self IsPlayerModelOK()) + if(!player IsPlayerModelOK()) continue; if(player == self) @@ -2504,7 +2504,7 @@ bot_uav_think() { player = level.players[i]; - if(!self IsPlayerModelOK()) + if(!player IsPlayerModelOK()) continue; if(player == self) @@ -2577,7 +2577,7 @@ bot_target_vehicle() for(i = 0; i < level.players.size; i++) { player = level.players[i]; - if(!self IsPlayerModelOK()) + if(!player IsPlayerModelOK()) continue; vehicle = player GetVehicleOccupied();