]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
"unset" vote_caller when doing VoteReset()
authorSamual <samual@xonotic.org>
Wed, 14 Dec 2011 19:20:21 +0000 (14:20 -0500)
committerSamual <samual@xonotic.org>
Wed, 14 Dec 2011 19:20:21 +0000 (14:20 -0500)
qcsrc/server/command/vote.qc

index 158a8a4c98122d24e7b4c373d697126b421b3772..2ddad99f0b5b2f99275da3f88d84bd11552ff8de 100644 (file)
@@ -113,7 +113,9 @@ void VoteReset()
        }
 
        vote_called = VOTE_NULL;
+       vote_caller = world;
        vote_endtime = 0;
+       
        vote_called_command = string_null;
        vote_called_display = string_null;