[MIRROR] Fixes bug where micro camera would not reset (#10153)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-02-13 08:54:41 +01:00
committed by GitHub
co-authored by Cameron Lennox
parent 8fc835991b
commit bcd0536000
+4 -4
View File
@@ -107,14 +107,14 @@ var/list/holder_mob_icon_cache = list()
/obj/item/holder/proc/dump_mob()
if(!held_mob)
return
if (held_mob.loc == src || isnull(held_mob.loc)) //VOREStation edit
if (held_mob.loc == src || isnull(held_mob.loc))
held_mob.transform = original_transform
held_mob.update_transform() //VOREStation edit
held_mob.update_transform()
held_mob.vis_flags = original_vis_flags
held_mob.forceMove(get_turf(src))
held_mob.reset_view(null)
held_mob.forceMove(get_turf(src))
held_mob = null
invisibility = INVISIBILITY_ABSTRACT //VOREStation edit
invisibility = INVISIBILITY_ABSTRACT
/obj/item/holder/throw_at(atom/target, range, speed, thrower)
if(held_mob)