From f19dfe9d708030af85c46878c09705060b34e026 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 25 Sep 2019 16:54:43 -0400 Subject: [PATCH] Server shuffle fix --- server/src/io/anuke/mindustry/server/ServerControl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/io/anuke/mindustry/server/ServerControl.java b/server/src/io/anuke/mindustry/server/ServerControl.java index 98f4f22a68..fd1c0ca1bd 100644 --- a/server/src/io/anuke/mindustry/server/ServerControl.java +++ b/server/src/io/anuke/mindustry/server/ServerControl.java @@ -155,7 +155,7 @@ public class ServerControl implements ApplicationListener{ maps.shuffle(); Map previous = world.getMap(); - Map map = maps.find(m -> lastMode.valid(m) && m != previous); + Map map = maps.find(m -> m != previous); if(map != null){