better cooldown

This commit is contained in:
Timothy Teakettle
2020-12-13 02:33:57 +00:00
parent 85b6248f48
commit 866220aefb
2 changed files with 3 additions and 3 deletions
@@ -2,9 +2,6 @@
if(!client.prefs)
to_chat(src, "<span class='boldwarning'>No preferences datum on your client, contact an admin/coder!</span>")
return
if(client.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>")
return
client.prefs.last_custom_holoform = world.time
var/icon/new_holoform = user_interface_custom_holoform(client)
if(new_holoform)