fix
This commit is contained in:
@@ -257,7 +257,8 @@
|
|||||||
self._entered = true;
|
self._entered = true;
|
||||||
if (self._status === "attack") {
|
if (self._status === "attack") {
|
||||||
mp.game.audio.playSoundFrontend(1, "Enter_Capture_Zone", "DLC_Apartments_Drop_Zone_Sounds", true);
|
mp.game.audio.playSoundFrontend(1, "Enter_Capture_Zone", "DLC_Apartments_Drop_Zone_Sounds", true);
|
||||||
mp.game.graphics.startScreenEffect("MinigameTransitionIn", 500, false);
|
mp.game.graphics.startScreenEffect("MinigameTransitionOut", 500, false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mp.events.callRemote("Gangarea:Enter", JSON.stringify(self.id));
|
mp.events.callRemote("Gangarea:Enter", JSON.stringify(self.id));
|
||||||
@@ -267,7 +268,7 @@
|
|||||||
self._entered = false;
|
self._entered = false;
|
||||||
if (self._status === "attack") {
|
if (self._status === "attack") {
|
||||||
mp.game.audio.playSoundFrontend(1, "Exit_Capture_Zone", "DLC_Apartments_Drop_Zone_Sounds", true);
|
mp.game.audio.playSoundFrontend(1, "Exit_Capture_Zone", "DLC_Apartments_Drop_Zone_Sounds", true);
|
||||||
mp.game.graphics.startScreenEffect("MinigameTransitionOut", 500, false);
|
mp.game.graphics.startScreenEffect("MinigameTransitionIn", 500, false);
|
||||||
}
|
}
|
||||||
mp.events.callRemote("Gangarea:Leave", JSON.stringify(self.id));
|
mp.events.callRemote("Gangarea:Leave", JSON.stringify(self.id));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user