mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 00:26:02 +01:00
fix runechat offset (#17510)
* don't double this * . * urg * always use if defined * eh * tgui window from tg * skip on char select * rh * . * move to config
This commit is contained in:
@@ -292,7 +292,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()
|
||||
@@ -390,7 +390,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()
|
||||
|
||||
@@ -131,7 +131,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()
|
||||
@@ -147,7 +147,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