diff options
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 |