welp i got lazy

This commit is contained in:
kevinz000
2019-12-15 00:15:32 -07:00
parent 4970675467
commit 586dcb6f81
5 changed files with 24 additions and 18 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/last_ip
var/last_id
var/mutable_appearance/custom_holoform
var/icon/custom_holoform_icon
var/last_custom_holoform = 0
//Cooldowns for saving/loading. These are four are all separate due to loading code calling these one after another
+2 -2
View File
@@ -11,8 +11,8 @@
if(prefs.last_custom_holoform < world.time + CUSTOM_HOLOFORM_DELAY)
to_chat(src, "<span class='warning'>You are attempting to change custom holoforms too fast!</span>")
var/mutable_appearance/new_holoform = user_interface_custom_holoform(src)
var/icon/new_holoform = user_interface_custom_holoform(src)
if(new_holoform)
prefs.custom_holoform = new_holoform
prefs.custom_holoform_icon = new_holoform
prefs.last_custom_holoform = world.time
to_chat(src, "<span class='boldnotice'>Holoform set.</span>")