diff options
Diffstat (limited to 'game/microgames/flowers_delivery/flowers_delivery.gd')
-rw-r--r-- | game/microgames/flowers_delivery/flowers_delivery.gd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/game/microgames/flowers_delivery/flowers_delivery.gd b/game/microgames/flowers_delivery/flowers_delivery.gd index d7f8772..648b77f 100644 --- a/game/microgames/flowers_delivery/flowers_delivery.gd +++ b/game/microgames/flowers_delivery/flowers_delivery.gd @@ -3,4 +3,8 @@ extends Microgame # Called when the node enters the scene tree for the first time. func _microgame_ready() -> void: - pass + $Player.died.connect(_on_died) + + +func _on_died(): + finished.emit(false) |