Commit b3911799 authored by Chunchi Che's avatar Chunchi Che

fix updateData error

parent 2f93295d
...@@ -26,12 +26,6 @@ export default (data: Uint8Array) => { ...@@ -26,12 +26,6 @@ export default (data: Uint8Array) => {
action.location.controller = player; action.location.controller = player;
action.location.zone = zone; action.location.zone = zone;
action.location.sequence = sequence; action.location.sequence = sequence;
} else {
action.location = new ygopro.CardLocation({
controller: player,
zone,
sequence,
});
} }
msg.actions.push(action); msg.actions.push(action);
} }
......
...@@ -262,7 +262,7 @@ export function readUpdateAction( ...@@ -262,7 +262,7 @@ export function readUpdateAction(
const mask = -1; const mask = -1;
let code = mask; let code = mask;
let location; let location = undefined;
let alias = mask; let alias = mask;
let type_ = mask; let type_ = mask;
let level = 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