mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
513 requirement, user-friendly byond version requirement handling (#15041)
* v1 * docs * AA suggestion Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * MINIMUM VERSION 513 * // => /// Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: Kyep <Kyep@users.noreply.github.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
co-authored by
AffectedArc07
Kyep
parent
76c3436f1e
commit
f29d7c6e64
@@ -172,6 +172,9 @@
|
||||
if(!tos_consent)
|
||||
to_chat(usr, "<span class='warning'>You must consent to the terms of service before you can join!</span>")
|
||||
return FALSE
|
||||
if(client.version_blocked)
|
||||
client.show_update_notice()
|
||||
return FALSE
|
||||
ready = !ready
|
||||
new_player_panel_proc()
|
||||
|
||||
@@ -187,7 +190,9 @@
|
||||
if(!tos_consent)
|
||||
to_chat(usr, "<span class='warning'>You must consent to the terms of service before you can join!</span>")
|
||||
return FALSE
|
||||
|
||||
if(client.version_blocked)
|
||||
client.show_update_notice()
|
||||
return FALSE
|
||||
if(!SSticker || SSticker.current_state == GAME_STATE_STARTUP)
|
||||
to_chat(usr, "<span class='warning'>You must wait for the server to finish starting before you can join!</span>")
|
||||
return FALSE
|
||||
@@ -230,6 +235,9 @@
|
||||
if(!tos_consent)
|
||||
to_chat(usr, "<span class='warning'>You must consent to the terms of service before you can join!</span>")
|
||||
return FALSE
|
||||
if(client.version_blocked)
|
||||
client.show_update_notice()
|
||||
return FALSE
|
||||
if(!SSticker || SSticker.current_state != GAME_STATE_PLAYING)
|
||||
to_chat(usr, "<span class='warning'>The round is either not ready, or has already finished...</span>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user