Commit 83f31828 authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:Fluorohydride/ygopro-core

parents ca48cba3 70d367f1
......@@ -4613,7 +4613,7 @@ int32 field::operation_replace(uint16 step, effect* replace_effect, group* targe
target->current.reason_player = target->temp.reason_player;
if(is_destroy)
core.destroy_canceled.insert(target);
replace_effect->dec_count();
replace_effect->dec_count(replace_effect->get_handler_player());
} else
core.units.begin()->step = 2;
return FALSE;
......@@ -4680,7 +4680,7 @@ int32 field::operation_replace(uint16 step, effect* replace_effect, group* targe
targets->container.erase(rm);
}
}
replace_effect->dec_count();
replace_effect->dec_count(replace_effect->get_handler_player());
} else
core.units.begin()->step = 7;
return FALSE;
......@@ -4742,7 +4742,7 @@ int32 field::operation_replace(uint16 step, effect* replace_effect, group* targe
target->current.reason_player = target->temp.reason_player;
if(is_destroy)
core.destroy_canceled.insert(target);
replace_effect->dec_count();
replace_effect->dec_count(replace_effect->get_handler_player());
core.desrep_chain.push_back(core.continuous_chain.front());
}
core.continuous_chain.pop_front();
......@@ -4791,7 +4791,7 @@ int32 field::operation_replace(uint16 step, effect* replace_effect, group* targe
targets->container.erase(rm);
}
}
replace_effect->dec_count();
replace_effect->dec_count(replace_effect->get_handler_player());
core.desrep_chain.push_back(core.continuous_chain.front());
}
core.continuous_chain.pop_front();
......
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