Dont enable civs on refocus for GTA SA

This commit is contained in:
Vortrex
2020-12-28 01:22:50 -06:00
parent 029ef82456
commit ebdfa011b7

View File

@@ -25,7 +25,7 @@ addEventHandler("OnFocus", function(event) {
triggerNetworkEvent("ag.afk", false);
if(localPlayer != null) {
localPlayer.collisionsEnabled = true;
if(gta.game == GAME_GTA_SA) {
if(gta.game != GAME_GTA_SA) {
gta.setCiviliansEnabled(true);
}
gta.setTrafficEnabled(true);