From ef3188942e1c2a4f19ef19e400bce3293cb8bd5b Mon Sep 17 00:00:00 2001 From: LT3 <83487515+lessthnthree@users.noreply.github.com> Date: Sat, 8 Mar 2025 19:26:43 -0800 Subject: [PATCH] Version 515 warning message (#3269) ## About The Pull Request Changes the warning message to inform that 515 isn't supported. --- code/controllers/subsystem/statpanel.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/controllers/subsystem/statpanel.dm b/code/controllers/subsystem/statpanel.dm index 092f7eff9c1..57d1a82d2fe 100644 --- a/code/controllers/subsystem/statpanel.dm +++ b/code/controllers/subsystem/statpanel.dm @@ -129,11 +129,12 @@ SUBSYSTEM_DEF(statpanels) #if MIN_COMPILER_VERSION > 515 #warn 516 is most certainly out of beta, remove this beta notice if you haven't already #endif - var/static/list/beta_notice = list("", "You are on the BYOND 516 beta, various UIs and such may be broken!", "Please report issues, and switch back to BYOND 515 if things are causing too many issues for you.") + //var/static/list/beta_notice = list("", "You are on the BYOND 516 beta, various UIs and such may be broken!", "Please report issues, and switch back to BYOND 515 if things are causing too many issues for you.") + var/static/list/old_version_notice = list("", "This server is designed for version 516, you are using an older version 515!", "You may experience issues and crashes, switch to BYOND 516 if things are causing too many issues for you.") // BUBBER EDIT CHANGE - Change version notice to 515 if(!global_data)//statbrowser hasnt fired yet and we were called from immediate_send_stat_data() return target.stat_panel.send_message("update_stat", list( - "global_data" = global_data, // BUBBER EDIT CHANGE - Remove beta notice + "global_data" = (target.byond_version < 516) ? (global_data + old_version_notice) : global_data, // BUBBER EDIT CHANGE - Change version notice to 515 "ping_str" = "Ping: [round(target.lastping, 1)]ms (Average: [round(target.avgping, 1)]ms)", "other_str" = target.mob?.get_status_tab_items(), ))