mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 09:34:21 +01:00
Warning if clients are still on 515 (#29067)
This commit is contained in:
@@ -457,6 +457,7 @@
|
||||
tooltips = new /datum/tooltip(src)
|
||||
|
||||
Master.UpdateTickRate()
|
||||
INVOKE_ASYNC(src, TYPE_PROC_REF(/client, nag_516))
|
||||
|
||||
// Tell clients about active testmerges
|
||||
if(world.TgsAvailable() && length(GLOB.revision_info.testmerges))
|
||||
@@ -1338,6 +1339,18 @@
|
||||
|
||||
window_scaling = text2num(winget(src, null, "dpi"))
|
||||
|
||||
// This is in its own proc so we can async it out
|
||||
/client/proc/nag_516()
|
||||
if(byond_version >= 516)
|
||||
return
|
||||
|
||||
var/choice = alert(src, "Warning - You are currently on BYOND version [byond_version].[byond_build]. Soon, Paradise will start enforcing 516 as the minimum required version, and 515 will no longer work. Please update now to avoid being unable to play in the future.", "BYOND Version Warning", "Update Now", "Ignore for now")
|
||||
if(choice != "Update Now")
|
||||
return
|
||||
|
||||
src << link("https://secure.byond.com/download/")
|
||||
|
||||
|
||||
#undef LIMITER_SIZE
|
||||
#undef CURRENT_SECOND
|
||||
#undef SECOND_COUNT
|
||||
|
||||
Reference in New Issue
Block a user