[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pbmserv-dev] Determine if submit mode in PrintBoardAs



I would like to know if my game's PrintBoardAs is printing a board with a
submitted move. Unfortunately, the type doesn't get passed to PrintBoardAs.
I did try using submit.Count() to determine if a move is submitted. This
more or less works, but if a player submits a move that results in an error,
submit.Count() remains true, so if the player does a showas, the game still
thinks a move is submitted.

Any other suggestions?