summaryrefslogtreecommitdiff
path: root/main/main.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-09-12 12:55:53 +0200
committerGitHub <noreply@github.com>2017-09-12 12:55:53 +0200
commitaabbd00284640a4789f96702c134ea40b11b402e (patch)
tree8363659a6551644b0d89401681e2909d5451a119 /main/main.cpp
parentc5e0e31f5106d7d91dc478af1f86740c74cea824 (diff)
parentb2a38854fdde296fd2d7da139a29b23a18ab494d (diff)
Merge pull request #10908 from hpvb/fix-unused-variables
Fix unused variable warnings
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 51d1d966b0..1295cd73b5 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1387,6 +1387,8 @@ bool Main::start() {
if (editor) {
Error serr = editor_node->load_scene(local_game_path);
+ if (serr != OK)
+ ERR_PRINT("Failed to load scene");
OS::get_singleton()->set_context(OS::CONTEXT_EDITOR);
}
#endif