diff --git a/code/datums/components/after_image.dm b/code/datums/components/after_image.dm index 768bb797aa14e..0b36c47671eeb 100644 --- a/code/datums/components/after_image.dm +++ b/code/datums/components/after_image.dm @@ -73,10 +73,7 @@ /datum/component/after_image/proc/spawn_image() if(!previous_loc || get_turf(owner) == previous_loc) return - var/obj/effect/temp_visual/after_image/after_image = new(previous_loc, owner, image_duration) - after_image.mouse_opacity = MOUSE_OPACITY_TRANSPARENT - after_image.layer = BELOW_MOB_LAYER //need to recalculate position based on glide_size since it's not possible to get otherwise var/per_step = glide_size * 2 //i don't know why i need to multiply by 2, but that's what seems to make it line up properly diff --git a/code/game/objects/effects/temporary_visuals/miscellaneous.dm b/code/game/objects/effects/temporary_visuals/miscellaneous.dm index 6ded930855d06..0eb8142a0ea9b 100644 --- a/code/game/objects/effects/temporary_visuals/miscellaneous.dm +++ b/code/game/objects/effects/temporary_visuals/miscellaneous.dm @@ -125,6 +125,8 @@ GLOBAL_LIST_EMPTY(blood_particles) after_image.density = initial(density) after_image.alpha = initial(alpha) after_image.appearance_flags = RESET_COLOR|RESET_ALPHA|PASS_MOUSE + after_image.mouse_opacity = MOUSE_OPACITY_TRANSPARENT + after_image.layer = BELOW_MOB_LAYER after_image.setDir(owner.dir) after_image.pixel_x = owner.pixel_x after_image.pixel_y = owner.pixel_y