2 Commits

Author SHA1 Message Date
anettera
c5ab1aa290 Remove beta notice for BYOND 516
you do actually need the rest of the code in that block you twit
webedit moment
2025-10-31 10:07:46 +00:00
anettera
da8e8c3aa9 Remove beta notice for BYOND 516
Removed beta notice for BYOND 516 from statpanel.
2025-10-31 09:54:07 +00:00

View File

@@ -104,11 +104,13 @@ SUBSYSTEM_DEF(statpanels)
#if MIN_COMPILER_VERSION > 515 #if MIN_COMPILER_VERSION > 515
#warn 516 is most certainly out of beta, remove this beta notice if you haven't already #warn 516 is most certainly out of beta, remove this beta notice if you haven't already
#endif #endif
/* 516 is stable we dont need this anymore
var/static/list/beta_notice = list("", "You are on BYOND 516, some visual glitches with UIs may be present!", "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 BYOND 516, some visual glitches with UIs may be present!", "Please report issues, and switch back to BYOND 515 if things are causing too many issues for you.")
*/
if(!global_data)//statbrowser hasnt fired yet and we were called from immediate_send_stat_data() if(!global_data)//statbrowser hasnt fired yet and we were called from immediate_send_stat_data()
return return
target.stat_panel.send_message("update_stat", list( target.stat_panel.send_message("update_stat", list(
"global_data" = (target.byond_version < 516) ? global_data : (global_data + beta_notice), "global_data" = (target.byond_version < 516) ? global_data : (global_data),
"ping_str" = "Ping: [round(target.lastping, 1)]ms (Average: [round(target.avgping, 1)]ms)", "ping_str" = "Ping: [round(target.lastping, 1)]ms (Average: [round(target.avgping, 1)]ms)",
"other_str" = target.mob?.get_status_tab_items(), "other_str" = target.mob?.get_status_tab_items(),
)) ))