refactor gold rewards and tower cost; fix wave test leak

This commit is contained in:
2026-06-29 00:31:34 -07:00
parent 6f30cd5ff2
commit be9fc24cd9
5 changed files with 9 additions and 11 deletions
+2 -1
View File
@@ -133,8 +133,9 @@ test_update_phase_from_build_phase :: proc(t: ^testing.T) {
}
@(test)
test_udpate_phase_from_combat_phase :: proc(t: ^testing.T) {
test_update_phase_from_combat_phase :: proc(t: ^testing.T) {
world := World{}
defer delete(world.events)
world.phase = .Combat
update_phase(&world)