From 1109ec7f42226c7f8057ee0b3ca67c3dc1607f52 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 16 Mar 2022 09:11:21 +0100 Subject: [PATCH] (Hopefully) fix github actions build error. --- modules/entity_spell_system/singletons/profile_manager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/entity_spell_system/singletons/profile_manager.cpp b/modules/entity_spell_system/singletons/profile_manager.cpp index b8865caaf..2390052d6 100644 --- a/modules/entity_spell_system/singletons/profile_manager.cpp +++ b/modules/entity_spell_system/singletons/profile_manager.cpp @@ -105,7 +105,7 @@ void ProfileManager::_save() { FileAccess *f = FileAccess::open(_save_file, FileAccess::WRITE, &err); if (!f) { - ERR_FAIL_MSG("Couldn't open file: " + err); + ERR_FAIL_MSG("Couldn't open file: " + String::num(err)); } f->store_line(JSON::print(to_dict())); @@ -121,7 +121,7 @@ void ProfileManager::_load() { if (err) { load_defaults(); - ERR_FAIL_MSG("Couldn't open file: " + err); + ERR_FAIL_MSG("Couldn't open file: " + String::num(err)); } String err_txt; @@ -131,7 +131,7 @@ void ProfileManager::_load() { if (err) { load_defaults(); - ERR_FAIL_MSG("Error parsing profile: " + err); + ERR_FAIL_MSG("Couldn't open file: " + String::num(err)); } Dictionary d = v;