Commit 6b178452 authored by Chunchi Che's avatar Chunchi Che

fix

parent 31ddc730
Pipeline #21441 passed with stages
in 12 minutes and 57 seconds
...@@ -26,6 +26,7 @@ export default (move: MsgMove) => { ...@@ -26,6 +26,7 @@ export default (move: MsgMove) => {
]; ];
target.occupant = undefined; target.occupant = undefined;
target.overlay_materials = []; target.overlay_materials = [];
uuid = target.uuid;
break; break;
} }
case ygopro.CardZone.REMOVED: case ygopro.CardZone.REMOVED:
......
...@@ -48,8 +48,8 @@ class CardArray extends Array<CardState> implements ArrayCardState { ...@@ -48,8 +48,8 @@ class CardArray extends Array<CardState> implements ArrayCardState {
} }
async insert( async insert(
uuid: string, uuid: string,
sequence: number,
id: number, id: number,
sequence: number,
position?: ygopro.CardPosition position?: ygopro.CardPosition
) { ) {
const card = await this.genCard(uuid, this.getController(), id, position); const card = await this.genCard(uuid, this.getController(), id, position);
......
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