From b43355e98ad06a9198fb618360aa428fc0e9eb8d Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Sun, 11 Mar 2018 20:44:56 -0700 Subject: [PATCH] Fixes client version config not working 1, the number is non-inclusive, so if you want to show a message to 511 and lower, you set it to 512 meaning this should have been `DM_VERSION-0`, and 2, if i want to limit it to a version higher then the server's version that is something that should be allowed. --- code/controllers/configuration/entries/general.dm | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/controllers/configuration/entries/general.dm b/code/controllers/configuration/entries/general.dm index 91e13303165..0608baea8c6 100644 --- a/code/controllers/configuration/entries/general.dm +++ b/code/controllers/configuration/entries/general.dm @@ -320,7 +320,6 @@ /datum/config_entry/number/client_warn_version config_entry_value = null min_val = 500 - max_val = DM_VERSION - 1 /datum/config_entry/string/client_warn_message config_entry_value = "Your version of byond may have issues or be blocked from accessing this server in the future." @@ -330,7 +329,6 @@ /datum/config_entry/number/client_error_version config_entry_value = null min_val = 500 - max_val = DM_VERSION - 1 /datum/config_entry/string/client_error_message config_entry_value = "Your version of byond is too old, may have issues, and is blocked from accessing this server."