diff --git a/core/src/chrislo27/rhre/Main.java b/core/src/chrislo27/rhre/Main.java index 46fed74ac..337580245 100644 --- a/core/src/chrislo27/rhre/Main.java +++ b/core/src/chrislo27/rhre/Main.java @@ -51,7 +51,7 @@ public Screen getAssetLoadingScreenToUse() { @Override public void create() { - Main.version = "v2.0.0"; + Main.version = "v2.0.1"; GlobalVariables.versionUrl = "https://raw.githubusercontent.com/chrislo27/VersionPlace/master/RHRE-version" + ".txt"; diff --git a/core/src/chrislo27/rhre/track/Remix.kt b/core/src/chrislo27/rhre/track/Remix.kt index 91a2bd60e..5147677aa 100644 --- a/core/src/chrislo27/rhre/track/Remix.kt +++ b/core/src/chrislo27/rhre/track/Remix.kt @@ -10,6 +10,7 @@ import com.badlogic.gdx.audio.Music import com.badlogic.gdx.files.FileHandle import com.badlogic.gdx.math.MathUtils import com.badlogic.gdx.utils.Disposable +import ionium.registry.AssetRegistry class Remix { @@ -170,12 +171,15 @@ class Remix { when (ps) { PlayingState.PLAYING -> { updateDuration() + AssetRegistry.instance().resumeAllSound() } PlayingState.PAUSED -> { music?.music?.pause() + AssetRegistry.instance().pauseAllSound() } PlayingState.STOPPED -> { resetEntitiesAndTracker() + AssetRegistry.instance().stopAllSound() } } }