mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-11 08:15:35 +03:00
Fix pause toggling (#9696)
This commit is contained in:
parent
45bdceb7fb
commit
40cd2fd276
@ -527,7 +527,7 @@ public class ServerControl implements ApplicationListener{
|
||||
}
|
||||
boolean pause = arg[0].equals("on");
|
||||
autoPaused = false;
|
||||
state.set(state.isPaused() ? State.playing : State.paused);
|
||||
state.set(pause ? State.paused : State.playing);
|
||||
info(pause ? "Game paused." : "Game unpaused.");
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user