mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Removes the only Null toolspeed (#67890)
all items have a toolspeed this could cause an error somewhere
This commit is contained in:
@@ -89,7 +89,6 @@
|
||||
attack_verb_continuous = list("devastates", "brutalizes", "commits a war crime against", "obliterates", "humiliates")
|
||||
attack_verb_simple = list("devastate", "brutalize", "commit a war crime against", "obliterate", "humiliate")
|
||||
tool_behaviour = null
|
||||
toolspeed = null
|
||||
|
||||
/obj/item/wrench/combat/Initialize(mapload)
|
||||
. = ..()
|
||||
@@ -111,10 +110,8 @@
|
||||
|
||||
if(active)
|
||||
tool_behaviour = TOOL_WRENCH
|
||||
toolspeed = 1
|
||||
else
|
||||
tool_behaviour = initial(tool_behaviour)
|
||||
toolspeed = initial(toolspeed)
|
||||
|
||||
balloon_alert(user, "[name] [active ? "active, woe!":"restrained"]")
|
||||
playsound(user ? user : src, active ? 'sound/weapons/saberon.ogg' : 'sound/weapons/saberoff.ogg', 5, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user