mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-21 01:37:13 +07:00
Fixed load map limit
This commit is contained in:
parent
5ef423c185
commit
7540b1c10a
@ -99,6 +99,10 @@ public class BlockRenderer{
|
||||
updateDarkness();
|
||||
});
|
||||
|
||||
Events.run(Trigger.newGame, () -> {
|
||||
updateDarkness();
|
||||
});
|
||||
|
||||
Events.on(TilePreChangeEvent.class, event -> {
|
||||
if(indexBlock(event.tile)) blockTree.remove(event.tile);
|
||||
if(indexFloor(event.tile)) floorTree.remove(event.tile);
|
||||
|
Loading…
Reference in New Issue
Block a user