Commit 07b23810 authored by Momobako's avatar Momobako

updc

parent 9a584a89
...@@ -4404,7 +4404,6 @@ int32 field::add_chain(uint16 step) { ...@@ -4404,7 +4404,6 @@ int32 field::add_chain(uint16 step) {
if(phandler->current.location == LOCATION_HAND) if(phandler->current.location == LOCATION_HAND)
clit.flag |= CHAIN_HAND_EFFECT; clit.flag |= CHAIN_HAND_EFFECT;
core.current_chain.push_back(clit); core.current_chain.push_back(clit);
core.new_chains.pop_front();
check_chain_counter(peffect, clit.triggering_player, clit.chain_count); check_chain_counter(peffect, clit.triggering_player, clit.chain_count);
// triggered events which are not caused by RaiseEvent create relation with the handler // triggered events which are not caused by RaiseEvent create relation with the handler
if(!peffect->is_flag(EFFECT_FLAG_FIELD_ONLY) && (!(peffect->type & 0x2a0) || (peffect->code & EVENT_PHASE) == EVENT_PHASE)) { if(!peffect->is_flag(EFFECT_FLAG_FIELD_ONLY) && (!(peffect->type & 0x2a0) || (peffect->code & EVENT_PHASE) == EVENT_PHASE)) {
...@@ -4422,6 +4421,7 @@ int32 field::add_chain(uint16 step) { ...@@ -4422,6 +4421,7 @@ int32 field::add_chain(uint16 step) {
negeff->reset_flag = RESET_CHAIN | RESET_EVENT | deffect->get_value(); negeff->reset_flag = RESET_CHAIN | RESET_EVENT | deffect->get_value();
phandler->add_effect(negeff); phandler->add_effect(negeff);
} }
core.new_chains.pop_front();
return FALSE; return FALSE;
} }
case 2: { case 2: {
......
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