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

12 lines
320 B
GDScript

#MENUSCREEN:
# 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_NewGame.grab_focus()