fixed a bug where the menu watch processor removed the wrong index from its list
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40831
This commit is contained in:
parent
f94e956f83
commit
48cf71877b
@ -188,7 +188,7 @@ void BaseMenuStyle::ProcessWatchList()
|
||||
player = GetMenuPlayer(client);
|
||||
if (!player->bInMenu || !player->menuHoldTime)
|
||||
{
|
||||
m_WatchList.remove(i);
|
||||
m_WatchList.remove(client);
|
||||
continue;
|
||||
}
|
||||
if (curTime > player->menuStartTime + player->menuHoldTime)
|
||||
|
Loading…
Reference in New Issue
Block a user