From f2397809a84c2bf0d41e6cb2092fa8f3c5a17850 Mon Sep 17 00:00:00 2001 From: reduz Date: Wed, 4 Nov 2020 23:01:55 -0300 Subject: Refactored Variant Operators. -Using classes to call and a table -For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr. --- main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/main.cpp b/main/main.cpp index f2d057665a..1866228a23 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -2232,7 +2232,7 @@ bool Main::start() { #ifdef TOOLS_ENABLED if (editor) { - if (game_path != GLOBAL_GET("application/run/main_scene") || !editor_node->has_scenes_in_session()) { + if (game_path != String(GLOBAL_GET("application/run/main_scene")) || !editor_node->has_scenes_in_session()) { Error serr = editor_node->load_scene(local_game_path); if (serr != OK) { ERR_PRINT("Failed to load scene"); -- cgit v1.2.3