Dont enable civs on refocus for GTA SA
This commit is contained in:
@@ -25,7 +25,7 @@ addEventHandler("OnFocus", function(event) {
|
|||||||
triggerNetworkEvent("ag.afk", false);
|
triggerNetworkEvent("ag.afk", false);
|
||||||
if(localPlayer != null) {
|
if(localPlayer != null) {
|
||||||
localPlayer.collisionsEnabled = true;
|
localPlayer.collisionsEnabled = true;
|
||||||
if(gta.game == GAME_GTA_SA) {
|
if(gta.game != GAME_GTA_SA) {
|
||||||
gta.setCiviliansEnabled(true);
|
gta.setCiviliansEnabled(true);
|
||||||
}
|
}
|
||||||
gta.setTrafficEnabled(true);
|
gta.setTrafficEnabled(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user