From 8b19193ce97abc97ef47ab291bed567427eec6f2 Mon Sep 17 00:00:00 2001 From: Mercury233 Date: Sat, 11 May 2024 23:26:01 +0800 Subject: [PATCH] fix Duel.ReturnToField clear relate effect (#586) --- operations.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operations.cpp b/operations.cpp index 89a9501e8..c8eef5c47 100644 --- a/operations.cpp +++ b/operations.cpp @@ -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