mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 03:49:10 +01:00
Fix greeting window malfunction (#7847)
* Fixes * Log the change * Remove unused var
This commit is contained in:
@@ -73,6 +73,4 @@
|
||||
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
|
||||
var/authed = TRUE
|
||||
|
||||
@@ -358,9 +358,9 @@
|
||||
return m
|
||||
//Do auth shit
|
||||
else
|
||||
. = ..()
|
||||
src.InitClient()
|
||||
src.InitPrefs()
|
||||
. = ..()
|
||||
|
||||
/client/proc/InitPrefs()
|
||||
//preferences datum - also holds some persistant data for the client (because we may as well keep these datums to a minimum)
|
||||
@@ -385,8 +385,6 @@
|
||||
server_greeting.display_to_client(src)
|
||||
|
||||
/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
|
||||
@@ -447,8 +445,6 @@
|
||||
|
||||
fetch_unacked_warning_count()
|
||||
|
||||
initialized = TRUE
|
||||
|
||||
//////////////
|
||||
//DISCONNECT//
|
||||
//////////////
|
||||
|
||||
Reference in New Issue
Block a user