Commit 88502290 authored by VanillaSalt's avatar VanillaSalt

fix

parent ebd4c1ee
......@@ -61,6 +61,7 @@ field::field(duel* pduel) {
core.opp_mzone[i] = 0;
core.summoning_card = 0;
core.summon_depth = 0;
core.summon_cancelable = FALSE;
core.chain_limit = 0;
core.chain_limit_p = 0;
core.chain_solving = FALSE;
......
......@@ -299,6 +299,7 @@ int32 scriptlib::duel_setm(lua_State *L) {
if(lua_gettop(L) > 4)
min_tribute = lua_tointeger(L, 5);
duel * pduel = pcard->pduel;
pduel->game_field->core.summon_cancelable = FALSE;
pduel->game_field->add_process(PROCESSOR_MSET, 0, peffect, (group*)pcard, playerid, ignore_count + (min_tribute << 8));
return lua_yield(L, 0);
}
......
......@@ -2786,6 +2786,7 @@ int32 field::process_idle_command(uint16 step) {
}
case 8: {
card* target = core.msetable_cards[returns.ivalue[0] >> 16];
core.summon_cancelable = TRUE;
add_process(PROCESSOR_MSET, 0, 0, (group*)target, target->current.controler, 0);
core.units.begin()->step = -1;
return FALSE;
......
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