mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Fixes the false armblade removal timer. Refactors addtimer (#21714)
* Clever girl... * Make the addtimer unique param safe * Refactor addtimer calls * Moved the location of the define so the other SSs can use it
This commit is contained in:
@@ -214,10 +214,10 @@
|
||||
if(!ratvar_awakens)
|
||||
R.clockwork_desc = "A powerful spear of Ratvarian making. It's more effective against enemy cultists and silicons, though it won't last for long."
|
||||
owner << "<span class='warning'>Your spear begins to break down in this plane of existence. You can't use it for long!</span>"
|
||||
addtimer(R, "break_spear", base_cooldown, FALSE)
|
||||
addtimer(R, "break_spear", base_cooldown, TIMER_NORMAL)
|
||||
cooldown = base_cooldown + world.time
|
||||
owner.update_action_buttons_icon()
|
||||
addtimer(src, "update_actions", base_cooldown, FALSE)
|
||||
addtimer(src, "update_actions", base_cooldown, TIMER_NORMAL)
|
||||
return TRUE
|
||||
|
||||
/datum/action/innate/function_call/proc/update_actions()
|
||||
|
||||
Reference in New Issue
Block a user