diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-18 17:59:03 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-18 17:59:03 +0200 |
commit | 6c3f811f084cde0948089bab8280ad25404f8834 (patch) | |
tree | ab18b3264a10f0b970ec112882a9471560771be3 /modules/gdscript/gdscript.cpp | |
parent | b435551682f93cf49f606d260b28e13ff5526beb (diff) | |
parent | eca19d6e804bb17b31195931042686c6eb0862de (diff) | |
download | redot-engine-6c3f811f084cde0948089bab8280ad25404f8834.tar.gz |
Merge pull request #92177 from KoBeWi/literally_wtf
Fix broken built-in script reloading
Diffstat (limited to 'modules/gdscript/gdscript.cpp')
-rw-r--r-- | modules/gdscript/gdscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index 838ab42beb..20d424894a 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -995,7 +995,7 @@ bool GDScript::_get(const StringName &p_name, Variant &r_ret) const { bool GDScript::_set(const StringName &p_name, const Variant &p_value) { if (p_name == GDScriptLanguage::get_singleton()->strings._script_source) { set_source_code(p_value); - reload(); + reload(true); return true; } |