diff --git a/scripts/sch3.gd b/scripts/sch3.gd index baa615aa..a7d31559 100644 --- a/scripts/sch3.gd +++ b/scripts/sch3.gd @@ -107,7 +107,7 @@ class Sch3 extends unit.Unit: var unit_prof = ProjectSettings.get_setting('application/config/%s' % unit_sch3.name) if unit_prof: unit_sch3.port = unit_prof[0] - unit_sch3.params = unit_prof[1] + unit_sch3.params = unit_prof.slice(1, -1) step_fsm = Sch3Fsm.CONNECT