fast punishment

This commit is contained in:
pennyrigate 2023-11-05 21:42:52 -05:00
parent ae41ff0917
commit 9a08b79c2c
2 changed files with 7 additions and 0 deletions

View file

@ -273,6 +273,8 @@ func _on_Climbing_state_exited() -> void:
# all the stuff that happens when they DIE
func _on_Dead_state_entered() -> void:
if Debug.fast_punishment > 0:
Engine.time_scale += .05 * Debug.fast_punishment
# send signals
emit_signal("died")
state_chart.send_event("died")