This commit is contained in:
silicons
2020-09-18 00:27:04 -07:00
parent a477b1d5a9
commit d619823b9b
2 changed files with 6 additions and 2 deletions
@@ -40,7 +40,7 @@
/obj/item/implant/warp
name = "warp implant"
desc = "Saves your position somewhere, and then warps you back to it after five seconds."
desc = "Warps you to where you were 10 seconds before when activated."
icon_state = "warp"
uses = -1
var/total_delay = 10 SECONDS
@@ -48,6 +48,10 @@
var/last_use = 0
var/list/positions = list()
/obj/item/implant/warp/Destroy()
positions = null
return ..()
/obj/item/implant/warp/implant(mob/living/target, mob/user, silent, force)
. = ..()
if(.)