From e28b7cfb825bf307d85ea61fe875505166123187 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 4 Jun 2022 08:05:16 +0200 Subject: [PATCH] Fix handling else ifs. --- game/addons/gdc_converter/gdsparser.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/addons/gdc_converter/gdsparser.gd b/game/addons/gdc_converter/gdsparser.gd index cf0d8482..c14d87e3 100644 --- a/game/addons/gdc_converter/gdsparser.gd +++ b/game/addons/gdc_converter/gdsparser.gd @@ -306,7 +306,7 @@ class GDSScope: if type == GDScopeType.GDSCOPE_TYPE_IF: s += "if (" + scope_data + ") {" elif type == GDScopeType.GDSCOPE_TYPE_ELIF: - s += "if (" + scope_data + ") {" + s += "else if (" + scope_data + ") {" elif type == GDScopeType.GDSCOPE_TYPE_ELSE: s += "else {" elif type == GDScopeType.GDSCOPE_TYPE_FOR: