feat : minor fix, on editor bypass update
This commit is contained in:
@@ -45,6 +45,13 @@ func _ready() -> void:
|
|||||||
progress_label.visible = false
|
progress_label.visible = false
|
||||||
|
|
||||||
status_label.text = "Checking versions..."
|
status_label.text = "Checking versions..."
|
||||||
|
|
||||||
|
# Instant bypass in editor — go straight to game
|
||||||
|
if OS.has_feature("editor"):
|
||||||
|
print("[BootScreen] Editor detected — bypassing update check.")
|
||||||
|
_begin_resource_load()
|
||||||
|
return
|
||||||
|
|
||||||
update_manager.check_for_updates()
|
update_manager.check_for_updates()
|
||||||
|
|
||||||
func _get_update_manager() -> Node:
|
func _get_update_manager() -> Node:
|
||||||
|
|||||||
Reference in New Issue
Block a user