fixed various inputs to be cancel-able

This commit is contained in:
Tastyfish
2015-11-30 01:06:20 -05:00
parent a915a5a0fb
commit e2f67a4260
4 changed files with 17 additions and 7 deletions
@@ -62,7 +62,9 @@
..()
/obj/item/weapon/c4/attack_self(mob/user as mob)
var/newtime = input(usr, "Please set the timer.", "Timer", 10) as num
var/newtime = input(usr, "Please set the timer.", "Timer", 10) as num|null
if(newtime == null)
return
if(newtime < 10)
newtime = 10
if(newtime > 60000)