mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
update check
This commit is contained in:
@@ -141,11 +141,11 @@ public class DuelScene extends ForgeScene {
|
|||||||
|
|
||||||
void afterGameEnd(String enemyName, boolean winner, boolean showOverlay, boolean alternate) {
|
void afterGameEnd(String enemyName, boolean winner, boolean showOverlay, boolean alternate) {
|
||||||
Runnable runnable = () -> Gdx.app.postRunnable(()-> {
|
Runnable runnable = () -> Gdx.app.postRunnable(()-> {
|
||||||
if (this.isArena) {
|
if (GameScene.instance().isNotInWorldMap()) {
|
||||||
SoundSystem.instance.pause();
|
SoundSystem.instance.pause();
|
||||||
GameHUD.getInstance().playAudio();
|
GameHUD.getInstance().playAudio();
|
||||||
} else {
|
} else {
|
||||||
SoundSystem.instance.setBackgroundMusic(MusicPlaylist.MENUS); //start background music
|
SoundSystem.instance.setBackgroundMusic(MusicPlaylist.MENUS);
|
||||||
SoundSystem.instance.resume();
|
SoundSystem.instance.resume();
|
||||||
}
|
}
|
||||||
dungeonEffect = null;
|
dungeonEffect = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user