refactor base health

This commit is contained in:
2026-06-27 00:38:22 -07:00
parent 28165ed399
commit e7806dcd66
4 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ update_enemies :: proc(world: ^World, dt: f32) {
if !e.active do continue
if e.path_index >= len(world.world_map.path) {
world.base_health -= 1
world.player.base_health -= 1
e.active = false
continue
}