Skip to content

Commit

Permalink
bugfix: Abductor Surgery Fix (#4303)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottfrei authored Jan 30, 2024
1 parent 52a0350 commit aef61eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/game/gamemodes/miniantags/abduction/abduction_surgery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
var/mob/living/carbon/human/AB = target
if(IC)
user.visible_message("[user] pulls [IC] out of [target]'s [target_zone]!", "<span class='notice'>You pull [IC] out of [target]'s [target_zone].</span>")
IC.forceMove_turf()
user.put_in_hands(IC, ignore_anim = FALSE)
IC.remove(target, ORGAN_MANIPULATION_NOEFFECT)
IC.forceMove(get_turf(target))
user.put_in_hands(IC, ignore_anim = FALSE)
return TRUE
if(NO_INTORGANS in AB.dna.species.species_traits)
user.visible_message("[user] prepares [target]'s [target_zone] for further dissection!", "<span class='notice'>You prepare [target]'s [target_zone] for further dissection.</span>")
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ GLOBAL_DATUM_INIT(fire_overlay, /mutable_appearance, mutable_appearance('icons/g
* Item will be forceMoved() to turf below its holder.
*/
/obj/item/proc/forceMove_turf()
var/turf/newloc = get(src, /turf)
var/turf/newloc = get_turf(src)
if(!newloc)
CRASH("Item holder is not in turf contents.")
forceMove(newloc)
Expand Down

0 comments on commit aef61eb

Please sign in to comment.