From d04d0247479b229407048a37cd0ad60933aa3bf1 Mon Sep 17 00:00:00 2001 From: hop311 Date: Thu, 28 Dec 2023 20:19:12 +0000 Subject: Use `ERR_FAIL_*` macros where possible --- extension/src/openvic-extension/singletons/GameSingleton.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extension/src/openvic-extension/singletons/GameSingleton.hpp') diff --git a/extension/src/openvic-extension/singletons/GameSingleton.hpp b/extension/src/openvic-extension/singletons/GameSingleton.hpp index 1f3905e..56f3c25 100644 --- a/extension/src/openvic-extension/singletons/GameSingleton.hpp +++ b/extension/src/openvic-extension/singletons/GameSingleton.hpp @@ -52,7 +52,7 @@ namespace OpenVic { * pointing to the defines folder. */ godot::Error load_defines_compatibility_mode(godot::PackedStringArray const& file_paths); - static godot::String search_for_game_path(godot::String hint_path = {}); + static godot::String search_for_game_path(godot::String const& hint_path = {}); /* Post-load/restart game setup - reset the game to post-load state and load the specified bookmark. */ godot::Error setup_game(int32_t bookmark_index); -- cgit v1.2.3-56-ga3b1