The dice roll once
Rejoining a room replays the whole chronicle through the same events channel that carries live play, so the opening roll-off modal fired on every return. The replayed chronicle is now flagged, and one-time fanfare stays quiet on it — the log still rebuilds in full. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
ef5336caa8
commit
4a4e164e88
@@ -334,7 +334,7 @@ class Net {
|
||||
let talk = 0;
|
||||
for (const e of msg.events as GameEvent[]) {
|
||||
if (e.type === "tableTalk") talk++;
|
||||
if (e.type === "gameStarted") {
|
||||
if (e.type === "gameStarted" && !msg.replayed) {
|
||||
this.openingRolls = { rolls: e.dieRolls, first: e.firstPlayer, players: e.players };
|
||||
}
|
||||
const line = humanize(e);
|
||||
|
||||
Reference in New Issue
Block a user