This commit is contained in:
Zuhayr
2014-12-13 22:15:13 +10:30
parent 2569fdc1c2
commit 7770b355dd
2 changed files with 9 additions and 0 deletions
@@ -353,6 +353,9 @@
if(isrobot(user))
return
if(W.loc != user) // This should stop mounted modules ending up outside the module.
return
if(istype(W, /obj/item/weapon/melee/energy/blade))
var/datum/effect/effect/system/spark_spread/spark_system = new /datum/effect/effect/system/spark_spread()
spark_system.set_up(5, 0, src.loc)
@@ -582,6 +585,8 @@
return
if(isrobot(user))
return
if(W.loc != user) // This should stop mounted modules ending up outside the module.
return
user.drop_item()
if(W && W.loc) W.loc = src.loc
return