From 83bfad35466f8b3e96ec3e8e38c34293bacf54c6 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 12 May 2019 20:01:59 -0400 Subject: [PATCH] Fixed server compilation --- 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 0a077704ab..d10aa41b22 100644 --- a/server/src/io/anuke/mindustry/server/ServerControl.java +++ b/server/src/io/anuke/mindustry/server/ServerControl.java @@ -235,7 +235,7 @@ public class ServerControl implements ApplicationListener{ info("Loading map..."); logic.reset(); - state.rules = preset.get(); + state.rules = preset.apply(result.rules()); try{ world.loadMap(result); logic.play();