From fce89d4db5deaad591a57770f7795aa296f22fb2 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 9 May 2020 22:24:13 -0400 Subject: [PATCH] Fixed #2015 --- core/src/mindustry/ClientLauncher.java | 2 ++ core/src/mindustry/Vars.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/ClientLauncher.java b/core/src/mindustry/ClientLauncher.java index 29fc71198f..fd93a7fa5a 100644 --- a/core/src/mindustry/ClientLauncher.java +++ b/core/src/mindustry/ClientLauncher.java @@ -12,6 +12,7 @@ import arc.util.async.*; import mindustry.core.*; import mindustry.ctype.*; import mindustry.game.EventType.*; +import mindustry.game.*; import mindustry.gen.*; import mindustry.graphics.*; import mindustry.maps.*; @@ -57,6 +58,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform atlas = TextureAtlas.blankAtlas(); Vars.net = new Net(platform.getNet()); mods = new Mods(); + schematics = new Schematics(); Fonts.loadSystemCursors(); diff --git a/core/src/mindustry/Vars.java b/core/src/mindustry/Vars.java index b982ade0fd..76625b2c8c 100644 --- a/core/src/mindustry/Vars.java +++ b/core/src/mindustry/Vars.java @@ -166,7 +166,7 @@ public class Vars implements Loadable{ public static LoopControl loops; public static Platform platform = new Platform(){}; public static Mods mods; - public static Schematics schematics = new Schematics(); + public static Schematics schematics; public static BeControl becontrol; public static AsyncLogic asyncLogic; public static TeamIndexProcess teamIndex;