- // Stay in "draw offer sent" state until next move is played
- this.drawOfferSent = true;
- if (this.subMode == "corr")
- {
- // TODO: set drawOffer on in game (how ?)
- }
- else //live game
- {
- this.opponents.forEach(o => {
- if (!!o.online)
- {
- try {
- } catch (INVALID_STATE_ERR) {
- return;
- }
- }
- });