Removes the only Null toolspeed (#67890)

all items have a toolspeed this could cause an error somewhere
This commit is contained in:
OrionTheFox
2022-06-23 17:35:29 -05:00
committed by GitHub
parent bbcdd0d312
commit de59b5affe
-3
View File
@@ -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)