From 1a40fbc57db8af1b4fc41af7a4f2582281c2a13d Mon Sep 17 00:00:00 2001 From: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com> Date: Tue, 24 Mar 2020 14:21:00 -0400 Subject: [PATCH] Update votingbox.dm (#50193) --- code/game/objects/structures/votingbox.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/structures/votingbox.dm b/code/game/objects/structures/votingbox.dm index d3e4b67ae9e..3d2515a4fd9 100644 --- a/code/game/objects/structures/votingbox.dm +++ b/code/game/objects/structures/votingbox.dm @@ -114,7 +114,7 @@ to_chat(user,"You cast your vote.") /obj/structure/votebox/proc/valid_vote(obj/item/paper/I) - if(length_char(text) > VOTE_TEXT_LIMIT || findtext(text,"

Voting Results:


    ")) + if(length_char(I.info) > VOTE_TEXT_LIMIT || findtext(I.info,"

    Voting Results:


      ")) return FALSE return TRUE