Editor bugfixes / Arbitrary map resizing
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user