From 8eb4d25638eb51891a326fd1de3adc072a633849 Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 19 Aug 2019 09:42:45 -0400 Subject: [PATCH] Fixed error on exiting with custom map on server --- core/src/io/anuke/mindustry/ui/dialogs/PausedDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/io/anuke/mindustry/ui/dialogs/PausedDialog.java b/core/src/io/anuke/mindustry/ui/dialogs/PausedDialog.java index 40fb91dc9b..124b90df6d 100644 --- a/core/src/io/anuke/mindustry/ui/dialogs/PausedDialog.java +++ b/core/src/io/anuke/mindustry/ui/dialogs/PausedDialog.java @@ -106,7 +106,7 @@ public class PausedDialog extends FloatingDialog{ return; } - if(control.saves.getCurrent() == null || !control.saves.getCurrent().isAutosave() || state.rules.tutorial){ + if(control.saves.getCurrent() == null || !control.saves.getCurrent().isAutosave() || state.rules.tutorial || Net.client()){ state.set(State.menu); logic.reset(); return;