i got GRENADE

i got GRENADE-- grenade timers are now adjustable because someone put
the det time in "quotes" and that broke it.  fixed.
This commit is contained in:
Duck-
2014-10-19 00:20:53 -04:00
parent aef81d9d14
commit 3e90118b63
2 changed files with 6 additions and 6 deletions
@@ -90,16 +90,16 @@
/obj/item/weapon/grenade/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(isscrewdriver(W))
switch(det_time)
if ("1")
if (1)
det_time = 10
user << "<span class='notice'>You set the [name] for 1 second detonation time.</span>"
if ("10")
if (10)
det_time = 30
user << "<span class='notice'>You set the [name] for 3 second detonation time.</span>"
if ("30")
if (30)
det_time = 50
user << "<span class='notice'>You set the [name] for 5 second detonation time.</span>"
if ("50")
if (50)
det_time = 1
user << "<span class='notice'>You set the [name] for instant detonation.</span>"
add_fingerprint(user)