Added editor playtest button
This commit is contained in:
@@ -105,13 +105,18 @@ public class PausedDialog extends BaseDialog{
|
||||
}else{
|
||||
quit.run();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void runExitSave(){
|
||||
if(state.isEditor() && !wasClient){
|
||||
ui.editor.resumeEditing();
|
||||
return;
|
||||
}else if(state.playtestingMap != null){
|
||||
//no exit save here
|
||||
var testing = state.playtestingMap;
|
||||
logic.reset();
|
||||
ui.editor.resumeAfterPlaytest(testing);
|
||||
return;
|
||||
}
|
||||
|
||||
if(control.saves.getCurrent() == null || !control.saves.getCurrent().isAutosave() || wasClient){
|
||||
|
||||
Reference in New Issue
Block a user