Commit 9037ee97 authored by VanillaSalt's avatar VanillaSalt

fix

parent df4ba98f
......@@ -831,7 +831,6 @@ void card::xyz_add(card* mat, card_set* des) {
return;
pduel->write_buffer8(MSG_MOVE);
pduel->write_buffer32(mat->data.code);
mat->enable_field_effect(false);
if(mat->overlay_target) {
pduel->write_buffer8(mat->overlay_target->current.controler);
pduel->write_buffer8(mat->overlay_target->current.location | LOCATION_OVERLAY);
......@@ -845,6 +844,7 @@ void card::xyz_add(card* mat, card_set* des) {
pduel->write_buffer8(mat->current.position);
mat->enable_field_effect(false);
pduel->game_field->remove_card(mat);
pduel->game_field->add_to_disable_check_list(mat);
}
pduel->write_buffer8(current.controler);
pduel->write_buffer8(current.location | LOCATION_OVERLAY);
......
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