Commit 6913bc88 authored by mercury233's avatar mercury233 Committed by GitHub

don't trigger EVENT_ADJUST recursively (#388)

parent 76de5c54
......@@ -5012,8 +5012,10 @@ int32 field::adjust_step(uint16 step) {
return FALSE;
}
case 15: {
raise_event((card*)0, EVENT_ADJUST, 0, 0, PLAYER_NONE, PLAYER_NONE, 0);
process_instant_event();
if(!check_event(EVENT_ADJUST)) {
raise_event((card*)0, EVENT_ADJUST, 0, 0, PLAYER_NONE, PLAYER_NONE, 0);
process_instant_event();
}
return FALSE;
}
case 16: {
......
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