Fixed bug where scoreboard would upsize every time enter is pressed

This commit is contained in:
Paul Black 2023-05-02 12:31:10 -06:00
parent 1927b8a1d4
commit 570430740d

View file

@ -399,10 +399,11 @@ func tutorial_3():
$TutorialPanel/EnterKey.visible = true
Global.HUDStartLabelText = "PRESS ENTER/RETURN TO START THE ROUND"
play_audio(load("res://voice/tutorial/tutorial_3.mp3"))
if Input.is_action_just_pressed("start_game"):
stage3_continue = true
$connectedPlayers.size.y += 26
$connectedPlayers/player2Label.text = "AI"
if not stage3_continue:
if Input.is_action_just_pressed("start_game"):
stage3_continue = true
$connectedPlayers.size.y += 26
$connectedPlayers/player2Label.text = "AI"
if stage3_continue:
tutorial_4()