From 85451c274530e60fbf3b2e6f2878cb9334ee0823 Mon Sep 17 00:00:00 2001 From: Verkister Date: Mon, 26 Jul 2021 15:29:16 +0300 Subject: [PATCH] Fixes photo code still using step_x/y Ancient sins --- code/modules/paperwork/photography.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/paperwork/photography.dm b/code/modules/paperwork/photography.dm index f08d473757d..cc4d8103e10 100644 --- a/code/modules/paperwork/photography.dm +++ b/code/modules/paperwork/photography.dm @@ -207,8 +207,8 @@ var/global/photo_count = 0 var/xoff = (A.x - center.x) * 32 + center_offset var/yoff = (A.y - center.y) * 32 + center_offset if (istype(A,/atom/movable)) - xoff+=A:step_x - yoff+=A:step_y + xoff+=A:pixel_x + yoff+=A:pixel_y res.Blend(img, blendMode2iconMode(A.blend_mode), A.pixel_x + xoff, A.pixel_y + yoff) // Lastly, render any contained effects on top.