From 388a04d957a0fd9af9287cbe6f1ee905371886c7 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 8 Nov 2008 12:50:46 +0000 Subject: better voting support --- datasrc/network.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'datasrc/network.py') diff --git a/datasrc/network.py b/datasrc/network.py index 474cd33b..d09c5b33 100644 --- a/datasrc/network.py +++ b/datasrc/network.py @@ -232,6 +232,13 @@ Messages = [ NetIntRange("emoticon", 0, 'NUM_EMOTICONS-1'), ]), + NetMessage("sv_vote_clearoptions", [ + ]), + + NetMessage("sv_vote_option", [ + NetString("command"), + ]), + NetMessage("sv_vote_set", [ NetIntRange("timeout", 0, 60), NetString("description"), @@ -244,10 +251,6 @@ Messages = [ NetIntRange("pass", 0, 'MAX_CLIENTS'), NetIntRange("total", 0, 'MAX_CLIENTS'), ]), - - NetMessage("sv_maplist", [ - NetString("names"), - ]), ### Client messages NetMessage("cl_say", [ -- cgit 1.4.1