Console client: Several fixes, added handling of removed from game event.
This commit is contained in:
@@ -68,7 +68,13 @@ namespace pokerth_lib
|
||||
{
|
||||
lock (m_mutex)
|
||||
{
|
||||
m_state = value;
|
||||
if (m_state != value)
|
||||
{
|
||||
m_state = value;
|
||||
// Reset bets.
|
||||
foreach (KeyValuePair<uint, Player> player in m_players)
|
||||
player.Value.TotalBet = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user