This commit is contained in:
Anuken
2020-03-31 15:01:22 -04:00
parent f1fd072400
commit 77447c59f6
6 changed files with 4 additions and 61 deletions
-7
View File
@@ -54,7 +54,6 @@ public class MapEditor{
tags.put("steamid", map.file.parent().name());
}
MapIO.loadMap(map, context);
checkLinkedTiles();
renderer.resize(width(), height());
loading = false;
}
@@ -67,12 +66,6 @@ public class MapEditor{
renderer.resize(width(), height());
}
//adds missing blockparts
//TODO remove, may not be necessary with blockpart refactor later
public void checkLinkedTiles(){
//TODO actually remove
}
public void load(Runnable r){
loading = true;
r.run();
@@ -260,8 +260,7 @@ public class MapEditorDialog extends Dialog implements Disposable{
}
}
player.set(world.width() * tilesize/2f, world.height() * tilesize/2f);
//TODO figure out how to kill player
//player.dead(false);
player.clearUnit();
logic.play();
});
}