mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
@@ -72,4 +72,6 @@
|
||||
var/obj/screen/plane_master/parallax_dustmaster/parallax_dustmaster = null
|
||||
var/obj/screen/plane_master/parallax_spacemaster/parallax_spacemaster = null
|
||||
|
||||
var/initialized = FALSE
|
||||
|
||||
var/authed = TRUE
|
||||
@@ -337,7 +337,6 @@
|
||||
clients += src
|
||||
directory[ckey] = src
|
||||
|
||||
|
||||
if (LAZYLEN(config.client_blacklist_version))
|
||||
var/client_version = "[byond_version].[byond_build]"
|
||||
if (client_version in config.client_blacklist_version)
|
||||
@@ -357,11 +356,10 @@
|
||||
//Do auth shit
|
||||
else
|
||||
. = ..()
|
||||
src.InitPerfs()
|
||||
src.InitClient()
|
||||
src.InitPrefs()
|
||||
|
||||
/client/proc/InitPerfs()
|
||||
|
||||
/client/proc/InitPrefs()
|
||||
//preferences datum - also holds some persistant data for the client (because we may as well keep these datums to a minimum)
|
||||
prefs = preferences_datums[ckey]
|
||||
if(!prefs)
|
||||
@@ -374,6 +372,8 @@
|
||||
prefs.last_id = computer_id //these are gonna be used for banning
|
||||
|
||||
/client/proc/InitClient()
|
||||
if(initialized)
|
||||
return
|
||||
to_chat(src, "<span class='alert'>If the title screen is black, resources are still downloading. Please be patient until the title screen appears.</span>")
|
||||
|
||||
//Admin Authorisation
|
||||
@@ -436,9 +436,11 @@
|
||||
|
||||
check_ip_intel()
|
||||
|
||||
//////////////
|
||||
//DISCONNECT//
|
||||
//////////////
|
||||
initialized = TRUE
|
||||
|
||||
//////////////
|
||||
//DISCONNECT//
|
||||
//////////////
|
||||
/client/Del()
|
||||
ticket_panels -= src
|
||||
if(holder)
|
||||
|
||||
Reference in New Issue
Block a user