about summary refs log tree commit diff
path: root/datasrc
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-25 10:26:59 +0100
committeroy <Tom_Adams@web.de>2011-03-25 10:26:59 +0100
commita4580d451f8e4584f9aaa7b6ebe3380488ee4455 (patch)
tree9a88c33b631a81785b4ebdc68aea52b725ea7ab4 /datasrc
parent8ad3def65ea79f66c7508c219e05da3e5e117fe9 (diff)
downloadzcatch-a4580d451f8e4584f9aaa7b6ebe3380488ee4455.tar.gz
zcatch-a4580d451f8e4584f9aaa7b6ebe3380488ee4455.zip
added reasons to vote in general and show reason in vote hud. Closes #219
Diffstat (limited to 'datasrc')
-rw-r--r--datasrc/network.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/datasrc/network.py b/datasrc/network.py
index 6bfaeea3..911672a6 100644
--- a/datasrc/network.py
+++ b/datasrc/network.py
@@ -267,7 +267,8 @@ Messages = [
 
 	NetMessage("Sv_VoteSet", [
 		NetIntRange("m_Timeout", 0, 60),
-		NetStringStrict("m_pDescription")
+		NetStringStrict("m_pDescription"),
+		NetStringStrict("m_pReason"),
 	]),
 
 	NetMessage("Sv_VoteStatus", [
@@ -324,5 +325,6 @@ Messages = [
 	NetMessage("Cl_CallVote", [
 		NetStringStrict("m_Type"),
 		NetStringStrict("m_Value"),
+		NetStringStrict("m_Reason"),
 	]),
 ]