diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-12-18 13:18:50 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-12-18 13:18:50 -0500 |
commit | 7a80df9cce73e0515cdb40410e21329fdc361ee6 (patch) | |
tree | d5a2d3aac7dd4768df92641540e900bae168c799 /server/src/play.rs | |
parent | e7167b17d96cea1c31ca77e36cc0248c18b818c6 (diff) |
Advance play until player turn for webapp
Diffstat (limited to 'server/src/play.rs')
-rw-r--r-- | server/src/play.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/play.rs b/server/src/play.rs index c4dc5c7..a6e78f2 100644 --- a/server/src/play.rs +++ b/server/src/play.rs @@ -4,7 +4,6 @@ use rand::random; use serde::{Deserialize, Serialize}; use serde_json::json; use sqlx::{query, PgPool}; -use tracing::error; use uuid::Uuid; use crate::error::BridgeError; @@ -52,6 +51,7 @@ impl Journal for DbJournal { return Err(BridgeError::JournalConflict(format!("{}", self.id), seq)); } } + self.seq += 1; Ok(()) } |