Skip to content

Commit

Permalink
Fixed ground units always spawning in (-1, -1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Nov 29, 2018
1 parent be48ed5 commit d56c041
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/io/anuke/mindustry/ai/WaveSpawner.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion core/src/io/anuke/mindustry/core/World.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d56c041

Please sign in to comment.