diff options
author | rom <romangraef@gmail.com> | 2021-04-26 14:59:43 +0200 |
---|---|---|
committer | rom <romangraef@gmail.com> | 2021-04-26 14:59:43 +0200 |
commit | 5bdee50847bb9d0ee4f49c9988043734490fa4cb (patch) | |
tree | 03794d260b6c9fb9bd431e3773f09afa2cac0c66 /scenes/levels/reactiontest.gd | |
parent | 13e1d09d55b208d882d2d2f9af2f1bcc8d010d0b (diff) | |
download | ldjam48-5bdee50847bb9d0ee4f49c9988043734490fa4cb.tar.gz ldjam48-5bdee50847bb9d0ee4f49c9988043734490fa4cb.tar.bz2 ldjam48-5bdee50847bb9d0ee4f49c9988043734490fa4cb.zip |
insta death
Diffstat (limited to 'scenes/levels/reactiontest.gd')
-rw-r--r-- | scenes/levels/reactiontest.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scenes/levels/reactiontest.gd b/scenes/levels/reactiontest.gd index 50f5ce2..2038409 100644 --- a/scenes/levels/reactiontest.gd +++ b/scenes/levels/reactiontest.gd @@ -28,6 +28,8 @@ func _process(delta): if running: timer += delta timer_label.text = str(_total_time() - timer) + if timer >= _total_time(): + lose_all_hearts() func _on_Any_button_click(btn_idx): if btn_idx == sequence_index: |