Prevents players from joining with unackd warnings (#7509)

This commit is contained in:
Werner
2019-12-01 14:03:32 +01:00
committed by GitHub
parent d788aeff3a
commit 45bab622d9
5 changed files with 70 additions and 4 deletions
+1
View File
@@ -57,6 +57,7 @@
var/need_saves_migrated = "Requires database" //Used to determine whether or not the ckey needs their saves migrated over to the database. Default is 0 upon successful connection.
var/account_age = -1 // Age on the BYOND account in days.
var/account_join_date = null // Date of the BYOND account creation in ISO 8601 format.
var/unacked_warning_count = 0
preload_rsc = 1
+6 -4
View File
@@ -380,6 +380,10 @@
if(SStheming)
SStheming.apply_theme_from_perfs(src)
// Server greeting shenanigans.
if (server_greeting.find_outdated_info(src, 1))
server_greeting.display_to_client(src)
/client/proc/InitClient()
if(initialized)
return
@@ -436,15 +440,13 @@
send_resources()
// Server greeting shenanigans.
if (server_greeting.find_outdated_info(src, 1))
server_greeting.display_to_client(src)
// Check code/modules/admin/verbs/antag-ooc.dm for definition
add_aooc_if_necessary()
check_ip_intel()
fetch_unacked_warning_count()
initialized = TRUE
//////////////