diff --git a/code/modules/paperwork/photography.dm b/code/modules/paperwork/photography.dm index f54d7c5c3d1..cd32b78ba95 100644 --- a/code/modules/paperwork/photography.dm +++ b/code/modules/paperwork/photography.dm @@ -32,6 +32,7 @@ var/scribble //Scribble on the back. var/icon/tiny var/photo_size = 3 + var/max_length = 64 scatter_distance = 8 /obj/item/photo/attack_self__legacy__attackchain(mob/user as mob) @@ -42,7 +43,7 @@ var/txt = tgui_input_text(user, "What would you like to write on the back?", "Photo Writing") if(!txt) return - txt = copytext(txt, 1, 128) + txt = copytext(txt, 1, max_length) if(loc == user && user.stat == CONSCIOUS) scribble = txt else if(P.get_heat()) @@ -110,7 +111,7 @@ + "" \ + "" \ + "[scribble ? "
Written on the back:
[scribble]" : ""]"\ - + "", "window=Photo[UID()];size=[64*photo_size]x[scribble ? 400 : 64*photo_size]") + + "", "window=Photo[UID()];size=[64 * photo_size]x[max(64 * photo_size, 64 * photo_size + 120)]") onclose(usr, "Photo[UID()]") /obj/item/photo/proc/rename(mob/user)