You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
Fix broken script reloading
This commit is contained in:
@@ -987,7 +987,7 @@ bool GDScript::_get(const StringName &p_name, Variant &r_ret) const {
|
|||||||
bool GDScript::_set(const StringName &p_name, const Variant &p_value) {
|
bool GDScript::_set(const StringName &p_name, const Variant &p_value) {
|
||||||
if (p_name == GDScriptLanguage::get_singleton()->strings._script_source) {
|
if (p_name == GDScriptLanguage::get_singleton()->strings._script_source) {
|
||||||
set_source_code(p_value);
|
set_source_code(p_value);
|
||||||
reload();
|
reload(true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user