Updated connectedPlayers panel

This commit is contained in:
Paul Black 2023-04-04 11:15:40 -06:00
parent a0aaa79fa0
commit 2402f50a38

View file

@ -267,7 +267,7 @@ func tutorial():
$TutorialPanel/welcome.visible = true
$TutorialPanel/move.visible = true
$TutorialPanel/Wasd.visible = true
$player1Label.text = Global.playerName
$connectedPlayers/player1Label.text = Global.playerName
Global.HUDStartLabelText = " "
play_audio(load("res://voice/tutorial/tutorial_1.mp3"))
if not w:
@ -374,7 +374,7 @@ func tutorial_3():
play_audio(load("res://voice/tutorial/tutorial_3.mp3"))
if Input.is_action_just_pressed("start_game"):
stage3_continue = true
$player2Label.text = "AI"
$connectedPlayers/player2Label.text = "AI"
if stage3_continue:
tutorial_4()