From d56c041c4a98b737cd430a31e598ee75fa14d3db Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 29 Nov 2018 16:58:11 -0500 Subject: [PATCH] Fixed ground units always spawning in (-1, -1) --- core/src/io/anuke/mindustry/ai/WaveSpawner.java | 2 +- core/src/io/anuke/mindustry/core/World.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/io/anuke/mindustry/ai/WaveSpawner.java b/core/src/io/anuke/mindustry/ai/WaveSpawner.java index 44c39e1b5938..a75eed644d59 100644 --- a/core/src/io/anuke/mindustry/ai/WaveSpawner.java +++ b/core/src/io/anuke/mindustry/ai/WaveSpawner.java @@ -10,9 +10,9 @@ import io.anuke.mindustry.game.Waves; import io.anuke.mindustry.world.Tile; import io.anuke.ucore.core.Events; -import io.anuke.ucore.util.Structs; import io.anuke.ucore.util.GridBits; import io.anuke.ucore.util.Mathf; +import io.anuke.ucore.util.Structs; import java.io.DataInput; import java.io.DataOutput; diff --git a/core/src/io/anuke/mindustry/core/World.java b/core/src/io/anuke/mindustry/core/World.java index cf72719411b2..742a8f8549ce 100644 --- a/core/src/io/anuke/mindustry/core/World.java +++ b/core/src/io/anuke/mindustry/core/World.java @@ -30,8 +30,8 @@ public class World extends Module{ public final Sectors sectors = new Sectors(); public final WorldGenerator generator = new WorldGenerator(); public final BlockIndexer indexer = new BlockIndexer(); - public final Pathfinder pathfinder = new Pathfinder(); public final WaveSpawner spawner = new WaveSpawner(); + public final Pathfinder pathfinder = new Pathfinder(); private Map currentMap; private Sector currentSector;