mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
[MIRROR] Fixes pants altars being spammable [MDB IGNORE] (#13591)
* Fixes pants altars being spammable (#66911) The cooldown doesn't start until the pants is finished being made, so while its still making the pants, you can spam the shit out of it * Fixes pants altars being spammable Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
This commit is contained in:
co-authored by
John Willard
parent
9478f4f8db
commit
c21ebadc12
@@ -148,7 +148,7 @@ at the cost of risking a vicious bite.**/
|
||||
if(!isnull(chosen_color) && user.canUseTopic(src, BE_CLOSE))
|
||||
pants_color = chosen_color
|
||||
if("Create Artefact")
|
||||
if(!COOLDOWN_FINISHED(src, use_cooldown_duration))
|
||||
if(!COOLDOWN_FINISHED(src, use_cooldown) || status != ALTAR_INACTIVE)
|
||||
to_chat(user, span_warning("[src] is not ready to create something new yet..."))
|
||||
return
|
||||
pants_stageone()
|
||||
|
||||
Reference in New Issue
Block a user