Commit 1ec0ab57 authored by Chunchi Che's avatar Chunchi Che

fix small

parent 3d388d93
Pipeline #23325 passed with stages
in 11 minutes
...@@ -28,14 +28,6 @@ export default (data: Uint8Array) => { ...@@ -28,14 +28,6 @@ export default (data: Uint8Array) => {
overlay_count, overlay_count,
}), }),
); );
} else {
zone_actions.push(
new MsgReloadField.ZoneAction({
zone: ygopro.CardZone.MZONE,
sequence,
position: ygopro.CardPosition.FACEDOWN,
}),
);
} }
} }
...@@ -52,14 +44,6 @@ export default (data: Uint8Array) => { ...@@ -52,14 +44,6 @@ export default (data: Uint8Array) => {
position: numberToCardPosition(position), position: numberToCardPosition(position),
}), }),
); );
} else {
zone_actions.push(
new MsgReloadField.ZoneAction({
zone: ygopro.CardZone.SZONE,
sequence,
position: ygopro.CardPosition.FACEDOWN,
}),
);
} }
} }
......
...@@ -29,6 +29,7 @@ export default (field: MsgReloadField) => { ...@@ -29,6 +29,7 @@ export default (field: MsgReloadField) => {
sequence: zoneAction.sequence, sequence: zoneAction.sequence,
is_overlay: overlaySequence > 0, is_overlay: overlaySequence > 0,
overlay_sequence: Math.min(overlaySequence - 1, 0), overlay_sequence: Math.min(overlaySequence - 1, 0),
position: zoneAction.position,
}), }),
counters: {}, counters: {},
idleInteractivities: [], idleInteractivities: [],
......
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