Sound re-organized
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -13,6 +13,7 @@ import io.anuke.arc.scene.ui.layout.*;
|
|||||||
import io.anuke.arc.util.*;
|
import io.anuke.arc.util.*;
|
||||||
import io.anuke.mindustry.core.GameState.*;
|
import io.anuke.mindustry.core.GameState.*;
|
||||||
import io.anuke.mindustry.core.*;
|
import io.anuke.mindustry.core.*;
|
||||||
|
import io.anuke.mindustry.gen.*;
|
||||||
import io.anuke.mindustry.graphics.*;
|
import io.anuke.mindustry.graphics.*;
|
||||||
import io.anuke.mindustry.net.Net;
|
import io.anuke.mindustry.net.Net;
|
||||||
|
|
||||||
@@ -32,6 +33,7 @@ public class SettingsMenuDialog extends SettingsDialog{
|
|||||||
setStyle(Core.scene.skin.get("dialog", WindowStyle.class));
|
setStyle(Core.scene.skin.get("dialog", WindowStyle.class));
|
||||||
|
|
||||||
hidden(() -> {
|
hidden(() -> {
|
||||||
|
Sounds.back.play();
|
||||||
if(!state.is(State.menu)){
|
if(!state.is(State.menu)){
|
||||||
if(!wasPaused || Net.active())
|
if(!wasPaused || Net.active())
|
||||||
state.set(State.playing);
|
state.set(State.playing);
|
||||||
|
|||||||
Reference in New Issue
Block a user