Skip to content

Commit

Permalink
Fix #63 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kluskey authored Apr 3, 2024
1 parent c72b6e5 commit 8f14bd5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ enable_space_listing_pages=true
undo_redo_tools=true
the-mirror-tutorials=true
always_spin_up_local_server=true
check_version_on_start=false

[debug_flags]
show_web_socket_debug=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ suicide_keybinding=true
enable_space_listing_pages=true
the-mirror-tutorials=true
always_spin_up_local_server=true
check_version_on_start=false

[debug_flags]
show_web_socket_debug=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ suicide_keybinding=true
enable_space_listing_pages=true
the-mirror-tutorials=true
always_spin_up_local_server=true
check_version_on_start=false

[editor]
run/main_run_args=""
Expand Down
2 changes: 1 addition & 1 deletion mirror-godot-app/scripts/autoload/bootup.gd
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func _start_client():
# make request for version from server
Net.version_client.get_client_version()
var version = await Net.version_client.version_received
if version != Util.get_version_string():
if ProjectSettings.get_setting("feature_flags/check_version_on_start", false) and version != Util.get_version_string():
critical_error(Client.JOINER_ERRORS.VERSION_MISMATCH, "Your client is out of date, please update it to %s from %s" % [version, Util.get_version_string()] )
return
if ProjectSettings.get_setting("feature_flags/disable_login", false) and not Zone.client.is_client_connected_to_server():
Expand Down

0 comments on commit 8f14bd5

Please sign in to comment.