mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-15 12:24:28 +07:00
Fixed player respawning at editor location
This commit is contained in:
parent
0b49bd1985
commit
d608cf6536
@ -258,6 +258,7 @@ public class MapEditorDialog extends Dialog implements Disposable{
|
||||
private void save(){
|
||||
String name = editor.getTags().get("name", "").trim();
|
||||
editor.getTags().put("rules", JsonIO.write(state.rules));
|
||||
player.dead = true;
|
||||
|
||||
if(name.isEmpty()){
|
||||
infoDialog.show();
|
||||
|
Loading…
Reference in New Issue
Block a user