diff options
| author | George L. Albany <Megacake1234@gmail.com> | 2024-11-06 11:06:08 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-06 11:06:08 +0000 |
| commit | e7894c2c4efdd51049a21af4892005381fe57cd6 (patch) | |
| tree | 849c2d29b6fb90100f31de20340d5f0ef4238edf /modules/gdscript | |
| parent | d14f2a31558686f00c4f351ea659918576711a7a (diff) | |
| parent | b8b8a7127e3040582c5937fd2dff4c99e94a3b57 (diff) | |
| download | redot-engine-e7894c2c4efdd51049a21af4892005381fe57cd6.tar.gz | |
Merge pull request #843 from Spartan322/merge/87318a2
Merge commit godotengine/godot@87318a2
Diffstat (limited to 'modules/gdscript')
| -rw-r--r-- | modules/gdscript/gdscript_disassembler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_disassembler.cpp b/modules/gdscript/gdscript_disassembler.cpp index a829f516b9..7d72c6ea2c 100644 --- a/modules/gdscript/gdscript_disassembler.cpp +++ b/modules/gdscript/gdscript_disassembler.cpp @@ -792,8 +792,9 @@ void GDScriptFunction::disassemble(const Vector<String> &p_code_lines) const { text += method->get_name(); text += "("; for (int i = 0; i < argc; i++) { - if (i > 0) + if (i > 0) { text += ", "; + } text += DADDR(1 + i); } text += ")"; @@ -835,8 +836,9 @@ void GDScriptFunction::disassemble(const Vector<String> &p_code_lines) const { text += method->get_name(); text += "("; for (int i = 0; i < argc; i++) { - if (i > 0) + if (i > 0) { text += ", "; + } text += DADDR(1 + i); } text += ")"; |
