Author: loic
Date: Wed Jul 8 21:42:14 2009
New Revision: 6049
URL: http://svn.gna.org/viewcvs/pokersource?rev=6049&view=rev
Log:
1) a tournament enters BREAK_WAIT
2) all tables but table T1 finished their hand
3) the table T1 finishes its hand AND is destroyed as a side
effect of a call to balanceGames, because the T1 players
are dispatched to the other tables.
This is a special case where updateBreak will be called from endTurn
with a game_id for a table that is gone. updateBreak must gracefully
ignore the fact it is gone and proceed to BREAK state.
Modified:
trunk/poker-engine/pokerengine/pokertournament.py
trunk/poker-engine/tests/test-pokertournament.py.in
_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits