From 67886bab1eb0599ec724192a4298c980e6107f2a Mon Sep 17 00:00:00 2001 From: Karroffel Date: Mon, 24 Apr 2017 18:51:39 +0200 Subject: fixed a bug where saving a GDScript file crashed the editor I changed the loop in #8502, turns out it fixed the error I was facing but introduced a new one. This fixes both --- modules/gdscript/gd_script.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules/gdscript/gd_script.cpp') diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp index fe20a842cf..173014b138 100644 --- a/modules/gdscript/gd_script.cpp +++ b/modules/gdscript/gd_script.cpp @@ -1696,9 +1696,9 @@ void GDScriptLanguage::reload_tool_script(const Ref