BrogueCE
BrogueCE copied to clipboard
handleWhipAttacks API is insufficient for recording system
Both handleWhipAttacks and handleSpearAttacks take a boolean pointer which they set to true if the player aborts the action at a confirmation dialogue. This means the recording system must delay recording the player's action until after the functions return. However, it is possible for these functions to end the game and thus finish the recording too early. See #302