summaryrefslogtreecommitdiff
path: root/scripts/cursor.gd
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-05-23 18:06:37 -0400
committerbd <bdunahu@operationnull.com>2025-05-23 18:06:37 -0400
commit39acc5aff9c7ac75b34364ed4d389d7a6bcfc53d (patch)
treea50e78c0e5ad0899f2dd369259a806ed3a1ad4d1 /scripts/cursor.gd
parent6d166db85ec2518b3219240f7cbf26221eec1f76 (diff)
Refactor tower sprites + animation scripts
Diffstat (limited to 'scripts/cursor.gd')
-rw-r--r--scripts/cursor.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cursor.gd b/scripts/cursor.gd
index d12f9e0..22c1da1 100644
--- a/scripts/cursor.gd
+++ b/scripts/cursor.gd
@@ -15,11 +15,11 @@ var dirs = {"move_right": Vector2.RIGHT,
var towers : Dictionary[String, Dictionary] = {
"place_warlock": {
"scene": preload("res://scenes/warlock.tscn"),
- "cost": game_stats_config.warlock_defender_cost
+ "cost": game_stats_config.defenders["warlock"]["cost"]
},
"place_wyvern": {
"scene": preload("res://scenes/wyvern.tscn"),
- "cost": game_stats_config.wyvern_defender_cost
+ "cost": game_stats_config.defenders["wyvern"]["cost"]
}
}