mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 16:44:43 +01:00
Fixes teleporting rack with telekinesis (#71851)
Building racks with telekinesis will now build them where the racks are, rather than teleporting to where the user is.
This commit is contained in:
@@ -864,9 +864,10 @@
|
||||
if(do_after(user, 50, target = user, progress=TRUE))
|
||||
if(!user.temporarilyRemoveItemFromInventory(src))
|
||||
return
|
||||
var/obj/structure/rack/R = new /obj/structure/rack(user.loc)
|
||||
var/obj/structure/rack/R = new /obj/structure/rack(loc)
|
||||
user.visible_message("<span class='notice'>[user] assembles \a [R].\
|
||||
</span>", span_notice("You assemble \a [R]."))
|
||||
R.add_fingerprint(user)
|
||||
qdel(src)
|
||||
building = FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user