From 542f9353d8e9f3fac79cad1347d876b27b308882 Mon Sep 17 00:00:00 2001 From: Lukas Moungos Date: Wed, 4 Dec 2019 20:55:44 +0100 Subject: [PATCH] fix --- ReallifeGamemode.Client/util/Gangwar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Client/util/Gangwar.ts b/ReallifeGamemode.Client/util/Gangwar.ts index 7fcdd9ea..44979abb 100644 --- a/ReallifeGamemode.Client/util/Gangwar.ts +++ b/ReallifeGamemode.Client/util/Gangwar.ts @@ -251,14 +251,14 @@ if ((!self._entered)) { if (self.isInsideArea() && (self.isNearGround() == true)) { self._entered = true; - if (this._status == "attack") + if (self._status == "attack") mp.game.audio.playSoundFrontend(1, "Enter_Capture_Zone", "DLC_Apartments_Drop_Zone_Sounds", true); mp.events.callRemote("Gangarea:Enter", JSON.stringify(self.id)); } } else if (self._entered == true) { if (!self.isInsideArea() || (self.isNearGround() == false)) { self._entered = false; - if (this._status == "attack") + if (self._status == "attack") mp.game.audio.playSoundFrontend(1, "Exit_Capture_Zone", "DLC_Apartments_Drop_Zone_Sounds", true); mp.events.callRemote("Gangarea:Leave", JSON.stringify(self.id)); }