summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gd_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-08-06 19:00:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-08-06 19:00:54 -0300
commit9890c1d2ca76dc936e23f5263a4fd296bfc68996 (patch)
treebe0d304ab3f3b19e3460eee5e0bbdf68d0028f12 /modules/gdscript/gd_editor.cpp
parent259418f8275371fc2f0bab6892caa4ef66b84240 (diff)
downloadredot-engine-9890c1d2ca76dc936e23f5263a4fd296bfc68996.tar.gz
Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done!
Diffstat (limited to 'modules/gdscript/gd_editor.cpp')
-rw-r--r--modules/gdscript/gd_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp
index b3ab75b07c..48f747ada9 100644
--- a/modules/gdscript/gd_editor.cpp
+++ b/modules/gdscript/gd_editor.cpp
@@ -335,7 +335,7 @@ String GDScriptLanguage::make_function(const String& p_class,const String& p_nam
for(int i=0;i<p_args.size();i++) {
if (i>0)
s+=", ";
- s+=p_args[i];
+ s+=p_args[i].get_slice(":",0);
}
s+=" ";
}