removes useless spawn

This commit is contained in:
paprka
2014-10-26 14:35:27 -07:00
parent 79401fd57c
commit 3b24ac8fa9
3 changed files with 3 additions and 3 deletions

View File

@@ -82,7 +82,7 @@
if(do_after(user, 30))
usr << "<span class='notice'>You empty the contents of [src]'s bucket onto the floor.</span>"
reagents.reaction(src.loc)
spawn(5) src.reagents.clear_reagents()
src.reagents.clear_reagents()
/obj/structure/janitorialcart/attack_hand(mob/user)
user.set_machine(src)

View File

@@ -43,7 +43,7 @@
if(ismob(target) && target.reagents && reagents.total_volume)
user.visible_message("<span class='danger'>\The [target] has been smothered with \the [src] by \the [user]!</span>", "<span class='danger'>You smother \the [target] with \the [src]!</span>", "You hear some struggling and muffled cries of surprise")
src.reagents.reaction(target, TOUCH)
spawn(5) src.reagents.clear_reagents()
src.reagents.clear_reagents()
return
else
..()

View File

@@ -87,7 +87,7 @@
if(isturf(usr.loc) && src.loc == usr)
usr << "<span class='notice'>You empty \the [src] onto the floor.</span>"
reagents.reaction(usr.loc)
spawn(5) src.reagents.clear_reagents()
src.reagents.clear_reagents()
//space cleaner
/obj/item/weapon/reagent_containers/spray/cleaner