Merge pull request #11167 from Citadel-Station-13/kevinz000-patch-11

hand teles uses a (slightly) less atrocious sprite for the beam
This commit is contained in:
Ghom
2020-02-24 16:40:17 +01:00
committed by GitHub

View File

@@ -142,7 +142,7 @@
return ..()
/obj/item/hand_tele/proc/try_dispel_portal(atom/target, mob/user, delay = 30)
var/datum/beam/B = user.Beam(target)
var/datum/beam/B = user.Beam(target, icon_state = "rped_upgrade", maxdistance = 50)
if(is_parent_of_portal(target) && (!delay || do_after(user, delay, target = target)))
qdel(target)
to_chat(user, "<span class='notice'>You dispel [target] with \the [src]!</span>")