mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-26 18:06:41 +01:00
various fixes (#6252)
see commits fixes stuff in maintainer bug triage --------- Co-authored-by: silicons <no@you.cat>
This commit is contained in:
+3
-3
@@ -201,7 +201,7 @@
|
||||
removable_objects |= I
|
||||
if(removable_objects.len)
|
||||
var/obj/item/I = pick(removable_objects)
|
||||
I.loc = get_turf(user) //just in case something was embedded that is not an item
|
||||
I.forceMove(get_turf(user)) //just in case something was embedded that is not an item
|
||||
if(istype(I))
|
||||
user.put_in_hands(I)
|
||||
user.visible_message("<span class='danger'>\The [user] rips \the [I] out of \the [src]!</span>")
|
||||
@@ -233,7 +233,7 @@
|
||||
if(istype(W,/obj/item/surgical/hemostat))
|
||||
if(contents.len)
|
||||
var/obj/item/removing = pick(contents)
|
||||
removing.loc = get_turf(user.loc)
|
||||
removing.forceMove(get_turf(user.loc))
|
||||
user.put_in_hands(removing)
|
||||
user.visible_message("<span class='danger'><b>[user]</b> extracts [removing] from [src] with [W]!</span>")
|
||||
else
|
||||
@@ -537,7 +537,7 @@
|
||||
// remove embedded objects and drop them on the floor
|
||||
for(var/obj/implanted_object in implants)
|
||||
if(!istype(implanted_object,/obj/item/implant) && !istype(implanted_object,/obj/item/nif)) // We don't want to remove REAL implants. Just shrapnel etc.
|
||||
implanted_object.loc = get_turf(src)
|
||||
implanted_object.forceMove(get_turf(src))
|
||||
implants -= implanted_object
|
||||
|
||||
if(owner && !ignore_prosthetic_prefs)
|
||||
|
||||
Reference in New Issue
Block a user