aboutsummaryrefslogtreecommitdiff
path: root/scripts/load_turrets.gd
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2022-01-17 11:02:06 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2022-01-17 11:02:06 +0100
commit53342a1bdae615aead21163ed0636b68be5ea55f (patch)
treefe0262b04d57c0b40494ce72c377a7d6735c8588 /scripts/load_turrets.gd
parentdefad86c3f40d781cb9370bdfe42b6e72e7621ff (diff)
doc turrets
Diffstat (limited to 'scripts/load_turrets.gd')
-rw-r--r--scripts/load_turrets.gd1
1 files changed, 1 insertions, 0 deletions
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