mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 03:08:38 +07:00
Updated to build 28
This commit is contained in:
parent
2adacccf7d
commit
de340255fe
@ -1,7 +1,7 @@
|
||||
#Autogenerated file. Do not modify.
|
||||
#Fri Feb 23 14:48:54 EST 2018
|
||||
#Fri Feb 23 15:06:51 EST 2018
|
||||
version=release
|
||||
androidBuildCode=266
|
||||
androidBuildCode=267
|
||||
name=Mindustry
|
||||
code=3.3
|
||||
build=custom build
|
||||
build=28
|
||||
|
@ -32,16 +32,19 @@ public class SettingsMenuDialog extends SettingsDialog{
|
||||
public SettingsMenuDialog(){
|
||||
setStyle(Core.skin.get("dialog", WindowStyle.class));
|
||||
|
||||
hidden(()->{
|
||||
hidden(() -> {
|
||||
if(!state.is(State.menu)){
|
||||
if(!wasPaused || Net.active())
|
||||
state.set(State.playing);
|
||||
}
|
||||
});
|
||||
|
||||
shown(()->{
|
||||
shown(() -> {
|
||||
if(!state.is(State.menu)){
|
||||
wasPaused = state.is(State.paused);
|
||||
if(ui.paused.getScene() != null){
|
||||
wasPaused = ui.paused.wasPaused;
|
||||
}
|
||||
if(!Net.active()) state.set(State.paused);
|
||||
ui.paused.hide();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user