mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 16:19:36 +01:00
[MIRROR] fix runechat offset (#10626)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
dcc7ad1b21
commit
f8b047a3a3
@@ -293,7 +293,7 @@ var/list/preferences_datums = list()
|
||||
to_chat(usr,span_notice("Character [player_setup?.preferences?.real_name] saved!"))
|
||||
save_preferences()
|
||||
else if(href_list["reload"])
|
||||
load_preferences()
|
||||
load_preferences(TRUE)
|
||||
load_character()
|
||||
attempt_vr(client.prefs_vr,"load_vore","")
|
||||
sanitize_preferences()
|
||||
@@ -391,7 +391,7 @@ var/list/preferences_datums = list()
|
||||
error("Player picked [choice] slot to load, but that wasn't one we sent.")
|
||||
return
|
||||
|
||||
load_preferences()
|
||||
load_preferences(TRUE)
|
||||
load_character(slotnum)
|
||||
attempt_vr(user.client?.prefs_vr,"load_vore","")
|
||||
sanitize_preferences()
|
||||
|
||||
@@ -134,7 +134,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
||||
savefile.set_entry("lastnews", lastnews)
|
||||
savefile.set_entry("lastlorenews", lastlorenews)
|
||||
|
||||
/datum/preferences/proc/load_preferences()
|
||||
/datum/preferences/proc/load_preferences(skip_client)
|
||||
if(!savefile)
|
||||
stack_trace("Attempted to load the preferences of [client] without a savefile; did you forget to call load_savefile?")
|
||||
load_savefile()
|
||||
@@ -150,7 +150,8 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
||||
fcopy(savefile.path, bacpath) //byond helpfully lets you use a savefile for the first arg.
|
||||
return FALSE
|
||||
|
||||
apply_all_client_preferences()
|
||||
if(!skip_client)
|
||||
apply_all_client_preferences()
|
||||
|
||||
load_early_prefs()
|
||||
sanitize_early_prefs()
|
||||
|
||||
Reference in New Issue
Block a user