mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 02:28:18 +00:00
1cebe615dd
1195: Fix votespec on /pause (Fixes #1193) r=heinrich5991 a=ChillerDragon I also thought about using a `` if (str_find(m_aVoteCommand, "set_team"))`` in front of the pause reset. But then i thought its ok to unpause the VoteVictim every time. I didn't test but i could belive that this can cause some unwanted unpause for a player with the id of the last VoteVictim on a server type vote for example. Thats why i also reset the ``m_VoteVictim`` to -1 to avoid this. Co-authored-by: ChillerDragon <chillerdragon@gmail.com> |
||
---|---|---|
.. | ||
entities | ||
gamemodes | ||
score | ||
ddracechat.cpp | ||
ddracechat.h | ||
ddracecommands.cpp | ||
entity.cpp | ||
entity.h | ||
eventhandler.cpp | ||
eventhandler.h | ||
gamecontext.cpp | ||
gamecontext.h | ||
gamecontroller.cpp | ||
gamecontroller.h | ||
gameworld.cpp | ||
gameworld.h | ||
player.cpp | ||
player.h | ||
save.cpp | ||
save.h | ||
score.h | ||
teams.cpp | ||
teams.h | ||
teehistorian.cpp | ||
teehistorian.h |