Editor bugfixes / Arbitrary map resizing

This commit is contained in:
Anuken
2020-06-18 14:24:22 -04:00
parent ae47f37b27
commit d38abe95f9
8 changed files with 45 additions and 53 deletions

View File

@@ -133,7 +133,7 @@ public class MinimapRenderer implements Disposable{
}
public void update(Tile tile){
if(world.isGenerating()) return;
if(world.isGenerating() || !state.isGame()) return;
int color = colorFor(world.tile(tile.x, tile.y));
pixmap.draw(tile.x, pixmap.getHeight() - 1 - tile.y, color);