diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-14 00:06:52 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-14 00:06:52 +0100 |
commit | 90af765b430e3a75daa9b2b4d0343ae58ad5c33d (patch) | |
tree | 024e803ce9b7476ed310fc156b54eb5ebced3c4f /scripts/load_turrets.gd | |
parent | 7cb4290601010459b09376396c7833ec391c25bf (diff) |
secret work
Diffstat (limited to 'scripts/load_turrets.gd')
-rw-r--r-- | scripts/load_turrets.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/load_turrets.gd b/scripts/load_turrets.gd index 3c9f378..ba2e198 100644 --- a/scripts/load_turrets.gd +++ b/scripts/load_turrets.gd @@ -25,7 +25,7 @@ func get_base_turrets(): var flag = true for oth in info.values(): if oth.name == turr.name: continue - if turr.name in oth.upgrades: + if turr.name in oth.get("upgrades", {}): flag = false if flag: results.append(turr) return results |