Fixed runner hp sync

This commit is contained in:
Paul Black 2023-05-12 23:26:38 -06:00
parent 168e598d4b
commit 45791e789d
2 changed files with 3 additions and 3 deletions

View file

@ -123,7 +123,7 @@ offset_left = 4.0
offset_top = 622.0
offset_right = 94.0
offset_bottom = 648.0
text = "Version: 1.5 BETA"
text = "Version: 20230512"
[node name="OurTimeIsNowSolo" type="Sprite2D" parent="."]
position = Vector2(123, 104)

View file

@ -35,8 +35,8 @@ func _process(delta):
tutorial()
if not Global.tutorialComplete:
$musicPanel.visible = false
if Global.iAmSpecial and Global.gamemode == "Runner":
rpc("sync_runner_hp", $Health.value)
if Global.iAmSpecial and Global.gamemode == "Runner":
rpc("sync_runner_hp", $Health.value)
if Global.musicUpdated == true:
Global.musicUpdated = false
$musicPanel/playingLabel.text = Global.musicName