diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-07 21:22:29 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-07 21:22:29 -0300 |
commit | e24d87fefc4bea4b47d598c6dac588226f480573 (patch) | |
tree | a749873e327910c9a38019ee83ff39b4a8aa73a8 /npc/functions | |
parent | 39390c8538825e15a00714fe4948ccc4170c313c (diff) | |
download | serverdata-e24d87fefc4bea4b47d598c6dac588226f480573.tar.gz serverdata-e24d87fefc4bea4b47d598c6dac588226f480573.tar.bz2 serverdata-e24d87fefc4bea4b47d598c6dac588226f480573.tar.xz serverdata-e24d87fefc4bea4b47d598c6dac588226f480573.zip |
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)
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/politics.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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$; |