there
This commit is contained in:
@@ -41,10 +41,10 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
var/last_custom_holoform = 0
|
||||
|
||||
//Cooldowns for saving/loading. These are four are all separate due to loading code calling these one after another
|
||||
var/saveprefcooldown
|
||||
var/loadprefcooldown
|
||||
var/savecharcooldown
|
||||
var/loadcharcooldown
|
||||
COOLDOWN_DECLARE(saveprefcooldown)
|
||||
COOLDOWN_DECLARE(loadprefcooldown)
|
||||
COOLDOWN_DECLARE(savecharcooldown)
|
||||
COOLDOWN_DECLARE(loadcharcooldown)
|
||||
|
||||
//game-preferences
|
||||
var/lastchangelog = "" //Saved changlog filesize to detect if there was a change
|
||||
@@ -267,6 +267,9 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
|
||||
var/loadout_errors = 0
|
||||
|
||||
var/pref_queue
|
||||
var/char_queue
|
||||
|
||||
/datum/preferences/New(client/C)
|
||||
parent = C
|
||||
|
||||
@@ -3212,6 +3215,8 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
load_character()
|
||||
|
||||
if("changeslot")
|
||||
if(char_queue != -1)
|
||||
deltimer(char_queue) // Do not dare.
|
||||
if(!load_character(text2num(href_list["num"])))
|
||||
random_character()
|
||||
real_name = random_unique_name(gender)
|
||||
|
||||
Reference in New Issue
Block a user