From fa54eeebc5dddfa7aabd5c3ccd03b52cde2769c0 Mon Sep 17 00:00:00 2001 From: BiancaWilkson <42818125+BiancaWilkson@users.noreply.github.com> Date: Thu, 21 Mar 2024 02:08:28 -0400 Subject: [PATCH] [S] Fixes an exploit (#24721) * fixes an exploit * length --- code/modules/paperwork/paper.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index d398a232a4d..818ef374563 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -486,6 +486,9 @@ info = "Heat-curled corners and sooty words offer little insight. Whatever was once written on this page has been rendered illegible through fire." /obj/item/paper/proc/stamp(obj/item/stamp/S) + if(length(stamp_overlays) > 49) //Do not remove this cap or you'll unleash evil upon the world + return + stamps += (!stamps || stamps == "" ? "