aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/src/_match.rs
diff options
context:
space:
mode:
Diffstat (limited to 'games/rstnode/src/_match.rs')
-rw-r--r--games/rstnode/src/_match.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/rstnode/src/_match.rs b/games/rstnode/src/_match.rs
index 53f4d2604fe4..6ae69c54e935 100644
--- a/games/rstnode/src/_match.rs
+++ b/games/rstnode/src/_match.rs
@@ -17,7 +17,7 @@ pub struct Match {
pub players: Vec<Player>,
/// The active game map
pub map: Map,
- /// Input inbox,
+ /// Input inbox (handled in-order each game tick)
inbox: RwLock<VecDeque<Action>>,
/// The time the match was initialised
init_t: DateTime<Utc>,
@@ -59,9 +59,9 @@ impl Match {
self.inbox.write().await.push_back(cmd);
}
- pub async fn handle_inbex(&mut self) {
- for act in self.inbox.write().await.drain() {
+ pub async fn handle_inbox(&mut self) {
+ // for act in self.inbox.write().await.drain() {
- }
+ // }
}
}