bcirpggithubmirror/Phase2/Godot ===(Game Code)===/MergedMaster/bcirpg_mergedMaster_20220918ALuke/screens/PlayerSelection.gd

12 lines
330 B
GDScript

#PLAYERSELECTION:
# Script purely to grab focus for tabbing control
extends Control
onready var settings = get_node("/root/GlobalSaveInstance").settingsInstance
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
theme=load(settings.themeFile)
$VBoxContainer/But_ChoosePlayer.grab_focus()