Turn off audio on exit
If an exit zone is overlapping an audio zone, when exiting, the audio is stopped. We do this by actually triggering the fact that a user should "leave" all active zones when exiting.
This commit is contained in:
@@ -1236,6 +1236,8 @@ ${escapedMessage}
|
||||
if (this.mapTransitioning) return;
|
||||
this.mapTransitioning = true;
|
||||
|
||||
this.gameMap.triggerExitCallbacks();
|
||||
|
||||
let targetRoom: Room;
|
||||
try {
|
||||
targetRoom = await Room.createRoom(roomUrl);
|
||||
|
||||
Reference in New Issue
Block a user