Skip to content

Commit

Permalink
fix Duel.ReturnToField clear relate effect (Fluorohydride#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
mercury233 authored May 11, 2024
1 parent 73f7723 commit 8b19193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions operations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4646,9 +4646,9 @@ int32 field::move_to_field(uint16 step, card* target, uint32 enable, uint32 ret,
target->reset(resetflag, RESET_EVENT);
target->clear_card_target();
}
if(!(target->current.location & LOCATION_ONFIELD))
target->clear_relate_effect();
}
if(!(target->current.location & LOCATION_ONFIELD))
target->clear_relate_effect();
if(ret == 1)
target->current.reason &= ~REASON_TEMPORARY;
if(ret == 0 && location != target->current.location
Expand Down

0 comments on commit 8b19193

Please sign in to comment.