mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-28 07:39:13 +01:00
[MIRROR] Fix a bunch of issues and runtimes (#11145)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
199e857d15
commit
46c940fbdf
@@ -282,7 +282,7 @@
|
||||
prefs.last_ip = address //these are gonna be used for banning
|
||||
prefs.last_id = computer_id //these are gonna be used for banning
|
||||
|
||||
hook_vr("client_new",list(src)) //VOREStation Code. For now this only loads vore prefs, so better put before mob.Login() call but after normal prefs are loaded.
|
||||
prefs_vr = new/datum/vore_preferences(src)
|
||||
|
||||
. = ..() //calls mob.Login()
|
||||
prefs.sanitize_preferences()
|
||||
|
||||
@@ -147,8 +147,8 @@ var/global/list/valid_ringtones = list(
|
||||
data["pda_type"] = pdachoicelist[pref.pdachoice]
|
||||
data["communicator_visibility"] = pref.communicator_visibility // boolean
|
||||
data["ringtone"] = pref.ringtone
|
||||
// data["shoes"] = pref.shoe_hater
|
||||
data["jacket"] = pref.no_jacket
|
||||
// data["shoes"] = !pref.shoe_hater // CHOMPRemove
|
||||
data["jacket"] = !pref.no_jacket
|
||||
|
||||
return data
|
||||
|
||||
|
||||
@@ -235,7 +235,7 @@ var/list/gear_datums = list()
|
||||
if(TG.display_name in active_gear_list)
|
||||
active_gear_list -= TG.display_name
|
||||
else if(get_total() + TG.cost <= MAX_GEAR_COST)
|
||||
active_gear_list[TG.display_name] = list()
|
||||
LAZYSET(active_gear_list, TG.display_name, list())
|
||||
return TOPIC_REFRESH_UPDATE_PREVIEW
|
||||
|
||||
if("gear_tweak")
|
||||
|
||||
Reference in New Issue
Block a user