summaryrefslogtreecommitdiff
path: root/editor/editor_run.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_run.cpp')
-rw-r--r--editor/editor_run.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_run.cpp b/editor/editor_run.cpp
index 3f4418d5f2..92dae89b33 100644
--- a/editor/editor_run.cpp
+++ b/editor/editor_run.cpp
@@ -180,7 +180,7 @@ Error EditorRun::run(const String &p_scene) {
args.push_back("--skip-breakpoints");
}
- if (p_scene != "") {
+ if (!p_scene.is_empty()) {
args.push_back(p_scene);
}
@@ -244,7 +244,7 @@ Error EditorRun::run(const String &p_scene) {
}
status = STATUS_PLAY;
- if (p_scene != "") {
+ if (!p_scene.is_empty()) {
running_scene = p_scene;
}