diff options
| author | oy <Tom_Adams@web.de> | 2011-03-25 10:26:59 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-25 10:26:59 +0100 |
| commit | a4580d451f8e4584f9aaa7b6ebe3380488ee4455 (patch) | |
| tree | 9a88c33b631a81785b4ebdc68aea52b725ea7ab4 /datasrc/network.py | |
| parent | 8ad3def65ea79f66c7508c219e05da3e5e117fe9 (diff) | |
| download | zcatch-a4580d451f8e4584f9aaa7b6ebe3380488ee4455.tar.gz zcatch-a4580d451f8e4584f9aaa7b6ebe3380488ee4455.zip | |
added reasons to vote in general and show reason in vote hud. Closes #219
Diffstat (limited to 'datasrc/network.py')
| -rw-r--r-- | datasrc/network.py | 4 |
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"), ]), ] |