Commit 79b2e3f7 authored by nanahira's avatar nanahira

fix

parent 1b386346
......@@ -1489,6 +1489,12 @@ export class Room {
const duelPos = this.getIngameDuelPos(c);
const playerView = message.playerView(duelPos);
const operatingPlayer = this.getIngameOperatingPlayer(duelPos);
if (
message instanceof YGOProMsgResponseBase &&
c !== operatingPlayer
) {
return;
}
return sendGameMsg(
c,
c === operatingPlayer ? playerView : playerView.teammateView(),
......
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