From 53342a1bdae615aead21163ed0636b68be5ea55f Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Mon, 17 Jan 2022 11:02:06 +0100 Subject: doc turrets --- scripts/load_turrets.gd | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/load_turrets.gd') diff --git a/scripts/load_turrets.gd b/scripts/load_turrets.gd index ddb7800..194525c 100644 --- a/scripts/load_turrets.gd +++ b/scripts/load_turrets.gd @@ -21,6 +21,7 @@ func get_saveload(): func get_upg_turrets(turret_name): var results = [] + return results # otherwise everything breaks for turr in info[turret_name].get("upgrades", []): results += [info[turr]] return results -- cgit v1.2.3-54-g00ecf