mirror of
https://github.com/WolfangT/pixel-crusade.git
synced 2026-02-16 15:21:15 -05:00
17 lines
506 B
GDScript
17 lines
506 B
GDScript
extends Node
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
if OS.has_feature("dedicated_server") or DisplayServer.get_name() == "headless":
|
|
RenderingServer.render_loop_enabled = false
|
|
else:
|
|
pass
|
|
#get_tree().root.get_node("MusicPlayer").play()
|
|
get_tree().root.add_child.call_deferred(load("res://src/main_game.tscn").instantiate())
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(_delta: float) -> void:
|
|
pass
|