13
0

triggerbox: left follow action == None means "no follow action at all"

This commit is contained in:
Paul Davis 2022-01-20 14:15:45 -07:00
parent 8ddf057553
commit 90e6107972

View File

@ -3018,6 +3018,11 @@ TriggerBox::determine_next_trigger (uint32_t current)
return -1;
}
if (all_triggers[current]->follow_action (0).type == FollowAction::None) {
/* when left follow action is disabled, no follow action */
return -1;
}
/* decide which of the two follow actions we're going to use (based on
* random number and the probability setting)
*/