From 4fcda439a7b93bb619b42142d94985a68c0865bc Mon Sep 17 00:00:00 2001 From: Tastyfish Date: Thu, 2 Feb 2012 04:38:55 -0500 Subject: [PATCH] doing a custom vote, aborting it, and starting a new one appended the choices to the choices of the old one. --- code/game/vote.dm | 1 + code/modules/admin/admin.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/game/vote.dm b/code/game/vote.dm index 7741f2c1828..cc75bde849e 100644 --- a/code/game/vote.dm +++ b/code/game/vote.dm @@ -362,6 +362,7 @@ return //world << "You're voting for [N] options!" var/i + vote.choices = list() for(i=1; i<=N; i++) var/addvote = input(usr, "What is option #[i]?", "Enter Option #[i]") as text vote.choices += addvote diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index 8fa08fea4ef..fac90da5131 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -2240,6 +2240,7 @@ return var/i + vote.choices = list() for(i=1; i<=N; i++) var/addvote = input(usr, "What is option #[i]?", "Enter Option #[i]") as text vote.choices += addvote