diff --git a/mirror-godot-app/addons/mirror_internal/env_configs/local.cfg b/mirror-godot-app/addons/mirror_internal/env_configs/local.cfg index 34d8f83f..014bde74 100644 --- a/mirror-godot-app/addons/mirror_internal/env_configs/local.cfg +++ b/mirror-godot-app/addons/mirror_internal/env_configs/local.cfg @@ -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 diff --git a/mirror-godot-app/addons/mirror_internal/env_configs/official.cfg b/mirror-godot-app/addons/mirror_internal/env_configs/official.cfg index a0a47b80..0ee2c724 100644 --- a/mirror-godot-app/addons/mirror_internal/env_configs/official.cfg +++ b/mirror-godot-app/addons/mirror_internal/env_configs/official.cfg @@ -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 diff --git a/mirror-godot-app/addons/mirror_internal/env_configs/temp.cfg b/mirror-godot-app/addons/mirror_internal/env_configs/temp.cfg index 4f7d5c10..7ce3e981 100644 --- a/mirror-godot-app/addons/mirror_internal/env_configs/temp.cfg +++ b/mirror-godot-app/addons/mirror_internal/env_configs/temp.cfg @@ -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="" diff --git a/mirror-godot-app/scripts/autoload/bootup.gd b/mirror-godot-app/scripts/autoload/bootup.gd index acef3f1d..5387952c 100644 --- a/mirror-godot-app/scripts/autoload/bootup.gd +++ b/mirror-godot-app/scripts/autoload/bootup.gd @@ -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():