Enables Practice Room

This commit is contained in:
2026-03-09 11:25:12 -04:00
parent 8087c57c32
commit b7715172c2
2 changed files with 148 additions and 6 deletions
+5 -1
View File
@@ -204,7 +204,11 @@ func take_damage(amount: float) -> void:
_die()
func _die() -> void:
RunManager.end_run(false)
if RunManager.run_active:
RunManager.end_run(false)
else:
# In hub/practice — just heal to full instead of dying
stats.heal(stats.max_health)
# ---------------------------------------------------------------------------
# Static Discharge — instant AoE damage to enemies in radius