add title script
This commit is contained in:
@@ -13,10 +13,7 @@ var _history_position: int = 0
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
print("Cadastery v", ProjectSettings.get_setting("application/config/version"))
|
||||
|
||||
if OS.has_feature("dedicated_server") or DisplayServer.get_name() == "headless":
|
||||
Networker.call_deferred("host_game", true)
|
||||
if Networker.is_dedicated_server():
|
||||
return
|
||||
|
||||
_host_button.pressed.connect(_on_host_button_pressed)
|
||||
|
||||
Reference in New Issue
Block a user