Possible crash fix
This commit is contained in:
@@ -309,6 +309,7 @@ public class MinimapRenderer{
|
||||
}
|
||||
|
||||
public void updateAll(){
|
||||
if(pixmap.isDisposed() || texture.isDisposed()) return;
|
||||
for(Tile tile : world.tiles){
|
||||
pixmap.set(tile.x, pixmap.height - 1 - tile.y, colorFor(tile));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user