From e24d87fefc4bea4b47d598c6dac588226f480573 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 7 Sep 2019 21:22:29 -0300 Subject: Don't allow GMs to vote, only to see the candidates Note: GMs are still allowed to candidate themselves. This might be useful if they believe there was fraud in an election, for example? (Not sure) --- npc/functions/politics.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 70fc08941..997cd3cf7 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -196,7 +196,7 @@ function script POL_Candidate { } next; - if (#POL_VOTEDAY == gettimeparam(GETTIME_DAYOFMONTH)) + if (#POL_VOTEDAY == gettimeparam(GETTIME_DAYOFMONTH) || is_gm()) return; mesc l("In whom to vote?"); select .@list$; -- cgit v1.2.3-70-g09d2