Commit c3b4b1d3 authored by nanahira's avatar nanahira

fix

parent 88febb6f
Pipeline #43206 passed with stages
in 1 minute and 28 seconds
...@@ -1557,7 +1557,9 @@ export class Room { ...@@ -1557,7 +1557,9 @@ export class Room {
}) })
.middleware(YGOProMsgBase, async (message, next) => { .middleware(YGOProMsgBase, async (message, next) => {
// record messages for replay // record messages for replay
this.lastDuelRecord.messages.push(message); if (!(message instanceof YGOProMsgRetry)) {
this.lastDuelRecord.messages.push(message);
}
return next(); return next();
}) })
.middleware(YGOProMsgRetry, async (message, next) => { .middleware(YGOProMsgRetry, async (message, next) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment