From eb2f9f0de1ce1d3e28e341a5c763b1e39bfc130c Mon Sep 17 00:00:00 2001 From: Hubblenaut Date: Sat, 7 Jun 2014 04:43:58 +0200 Subject: [PATCH] Fixes stamp overlays being partly off the paper --- code/modules/paperwork/paper.dm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index 7e16c426db..9dd5bdfc88 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -376,8 +376,13 @@ stamps += (stamps=="" ? "
" : "
") + "This paper has been stamped with the [P.name]." var/image/stampoverlay = image('icons/obj/bureaucracy.dmi') - var/x = rand(-2, 2) - var/y = rand(-3, 2) + var/{x; y;} + if(istype(P, /obj/item/weapon/stamp/captain) || istype(P, /obj/item/weapon/stamp/centcomm)) + x = rand(-2, 0) + y = rand(-1, 2) + else + x = rand(-2, 2) + y = rand(-3, 2) offset_x += x offset_y += y stampoverlay.pixel_x = x