Byond 516 warning message (#16988)

Added a warning message if clients are older than 516, warning them that the game will soon update to version 516 and that they will experience issues in the meantime, and eventually not be able to connect at all.

This really should be merged alongside the TGUI core update, as that will cause UI issues for clients still on 515.
This commit is contained in:
SatinIsle
2025-01-29 05:08:42 -05:00
committed by GitHub
parent cd729ad780
commit 32e9215448
+2
View File
@@ -60,6 +60,8 @@ var/obj/effect/lobby_image = new /obj/effect/lobby_image
/mob/new_player/proc/version_warnings()
var/problems // string to store message to present to player as a problem
if(client.byond_version < 516) // Temporary warning whilst we transition to byond 516.
problems = "The server is currently transitioning to BYOND 516, and you are currently on version [client.byond_version]. If you continue to use your current version, you WILL experience UI issues, and very soon older clients will not be able to connect at all. You can update BYOND on the client homepage by switching from stable to beta, just above either the update button or where it says that you are currently up to date. For more information how to update byond, please check the wiki."
// TODO: Move this to a config file at some point maybe? What would the structure of that look like?
switch(client.byond_build)
// http://www.byond.com/forum/post/2711510