Cleanup
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user