diff options
Diffstat (limited to 'Stages/Wintermaul/wintermaul.gd')
-rw-r--r-- | Stages/Wintermaul/wintermaul.gd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Stages/Wintermaul/wintermaul.gd b/Stages/Wintermaul/wintermaul.gd index b638c97..9219a29 100644 --- a/Stages/Wintermaul/wintermaul.gd +++ b/Stages/Wintermaul/wintermaul.gd @@ -67,6 +67,12 @@ func _ready(): # initialize lives display update_lives("top", 0) update_lives("bottom", 0) + + %HUD.attack_value_changed.connect(func(value: int): + Network.update_player.rpc(Client.player.id, { + "money": -(value * 10), + }) + ) func _process(_delta: float) -> void: |