mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 02:25:06 +01:00
@@ -282,14 +282,14 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
|
||||
GLOB.tickets.ClientLogin(src)
|
||||
|
||||
//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]
|
||||
prefs = GLOB.preferences_datums[ckey]
|
||||
if(prefs)
|
||||
prefs.client = src
|
||||
prefs.load_savefile() // just to make sure we have the latest data
|
||||
prefs.apply_all_client_preferences()
|
||||
else
|
||||
prefs = new /datum/preferences(src)
|
||||
preferences_datums[ckey] = prefs
|
||||
GLOB.preferences_datums[ckey] = prefs
|
||||
prefs.last_ip = address //these are gonna be used for banning
|
||||
prefs.last_id = computer_id //these are gonna be used for banning
|
||||
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
// Not actually used; just forces this into the RSC for TGUI.
|
||||
var/const/preview_icons = 'icons/mob/human_races/preview.dmi'
|
||||
|
||||
/datum/preferences
|
||||
var/equip_preview_mob = EQUIP_PREVIEW_ALL
|
||||
var/animations_toggle = FALSE
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
var/list/preferences_datums = list()
|
||||
GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
|
||||
/datum/preferences
|
||||
/// The path to the general savefile for this datum
|
||||
|
||||
Reference in New Issue
Block a user