From a1d362b795603183cc50ca08cce223b461edf385 Mon Sep 17 00:00:00 2001 From: CIB Date: Fri, 3 Aug 2012 05:43:39 +0300 Subject: [PATCH] Fixed custom votes The old method of passing the voter as href was still used by custom votes, making Topic() believe anyone doing custom votes was cheating. Thank god there was no auto-ban. --- code/game/vote.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/vote.dm b/code/game/vote.dm index 97b45c72d61..51a14641883 100644 --- a/code/game/vote.dm +++ b/code/game/vote.dm @@ -218,7 +218,7 @@ if(src.client.vote == md) text += "
  • [disp]" else - text += "
  • [disp]" + text += "
  • [disp]" text += "[votes[md]>0?" - [votes[md]] vote\s":null]
    " @@ -324,7 +324,7 @@ else text += "Change mode votes are disabled while a round is in progress, vote to restart first.
    " if(src.client.holder) //Strumpetplaya Add - Custom Votes for Admins - text += "Begin custom vote.
    " + text += "Begin custom vote.
    " text += footer usr << browse(text, "window=vote")