1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Merge pull request #92177 from KoBeWi/literally_wtf

Fix broken built-in script reloading
This commit is contained in:
Rémi Verschelde
2024-06-18 17:59:03 +02:00

View File

@@ -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;
}