Working prototype

This commit is contained in:
Sch1nken 2024-03-16 19:56:22 +01:00
parent 3de181134d
commit 1ed0ec226d
24 changed files with 682 additions and 31 deletions

14
DisconnectInfo.gd Normal file
View file

@ -0,0 +1,14 @@
extends Control
@onready var label = $PanelContainer/MarginContainer/VBoxContainer/Label
# Called when the node enters the scene tree for the first time.
func _ready():
visible = false
if not GameData.disconnect_reason.is_empty():
label.text = GameData.disconnect_reason
visible = true
func _on_button_pressed():
visible = false