Working prototype
This commit is contained in:
parent
3de181134d
commit
1ed0ec226d
24 changed files with 682 additions and 31 deletions
14
DisconnectInfo.gd
Normal file
14
DisconnectInfo.gd
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue