forked from team-sg/hero-mark-2
fast punishment
This commit is contained in:
parent
ae41ff0917
commit
9a08b79c2c
2 changed files with 7 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue