misdiagnoses addition
This commit is contained in:
@@ -12,7 +12,7 @@ func _ready() -> void:
|
||||
reset()
|
||||
|
||||
#Reveals the game over screen
|
||||
func reveal():
|
||||
func reveal(message_text: String):
|
||||
|
||||
#Reveals the background image first
|
||||
show()
|
||||
@@ -21,6 +21,7 @@ func reveal():
|
||||
await background.reveal_done
|
||||
|
||||
#Reveals the text and buttons afterwards
|
||||
message.text = Globals.colorize(message_text, "dark_red")
|
||||
for node in [message, back_to_menu, reload_checkpoint]:
|
||||
node.modulate.a = 0.0
|
||||
node.show()
|
||||
|
||||
Reference in New Issue
Block a user