This commit is contained in:
Anuken
2020-06-30 19:14:32 -04:00
parent c2c0c3fd08
commit e907c2045c
7 changed files with 6 additions and 27 deletions

View File

@@ -249,10 +249,10 @@ public class MapEditorDialog extends Dialog implements Disposable{
state.rules = Gamemode.editor.apply(lastSavedRules.copy());
state.rules.sector = null;
state.map = new Map(StringMap.of(
"name", "Editor Playtesting",
"width", editor.width(),
"height", editor.height()
));
"name", "Editor Playtesting",
"width", editor.width(),
"height", editor.height()
));
world.endMapLoad();
//add entities so they update. is this really needed?
for(Tile tile : world.tiles){