Commit 2e26ecf6 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'fix/updateData' into 'main'

修复某些情况下卡的表示形式错误的问题

See merge request !336
parents 2f93295d b3911799
Pipeline #25425 passed with stages
in 10 minutes and 22 seconds
......@@ -26,12 +26,6 @@ export default (data: Uint8Array) => {
action.location.controller = player;
action.location.zone = zone;
action.location.sequence = sequence;
} else {
action.location = new ygopro.CardLocation({
controller: player,
zone,
sequence,
});
}
msg.actions.push(action);
}
......
......@@ -262,7 +262,7 @@ export function readUpdateAction(
const mask = -1;
let code = mask;
let location;
let location = undefined;
let alias = mask;
let type_ = mask;
let level = mask;
......
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