mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
parent
9e0b6057e7
commit
3dd4cf3fed
2 changed files with 11 additions and 8 deletions
|
|
@ -2639,11 +2639,16 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
|
|||
|
||||
} break;
|
||||
case RUN_PLAY_NATIVE: {
|
||||
_menu_option_confirm(RUN_STOP,true);
|
||||
emit_signal("play_pressed");
|
||||
editor_run.run_native_notify();
|
||||
|
||||
|
||||
|
||||
bool autosave = EDITOR_DEF("run/auto_save_before_running",true);
|
||||
if (autosave) {
|
||||
_menu_option_confirm(FILE_SAVE_SCENE, false);
|
||||
}
|
||||
if (run_native->is_deploy_debug_remote_enabled()){
|
||||
_menu_option_confirm(RUN_STOP,true);
|
||||
emit_signal("play_pressed");
|
||||
editor_run.run_native_notify();
|
||||
}
|
||||
} break;
|
||||
case RUN_SCENE_SETTINGS: {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue