update check

This commit is contained in:
Anthony Calosa
2023-03-21 17:39:00 +08:00
parent 3632e37acc
commit 92c6bd1365

View File

@@ -141,11 +141,11 @@ public class DuelScene extends ForgeScene {
void afterGameEnd(String enemyName, boolean winner, boolean showOverlay, boolean alternate) {
Runnable runnable = () -> Gdx.app.postRunnable(()-> {
if (this.isArena) {
if (GameScene.instance().isNotInWorldMap()) {
SoundSystem.instance.pause();
GameHUD.getInstance().playAudio();
} else {
SoundSystem.instance.setBackgroundMusic(MusicPlaylist.MENUS); //start background music
SoundSystem.instance.setBackgroundMusic(MusicPlaylist.MENUS);
SoundSystem.instance.resume();
}
dungeonEffect = null;