This commit is contained in:
deathbybandaid 2022-02-24 11:12:56 -05:00
parent 6c249f5c95
commit 9be0fb3698

View File

@ -19,7 +19,9 @@ def prerun():
if comrun.is_multi_command: if comrun.is_multi_command:
if not comrun.is_rulematch: if not comrun.is_rulematch:
sb.commands.dispatch(comrun.command) sb.commands.dispatch(comrun.command)
elif comrun.is_rulematch and comrun.has_command_been_sanitized and not comrun.is_real_command: elif comrun.is_rulematch:
if comrun.is_real_command:
if comrun.has_command_been_sanitized:
sb.commands.dispatch(comrun.command) sb.commands.dispatch(comrun.command)
for trigger_dict in comrun.commands[1:]: for trigger_dict in comrun.commands[1:]:
sb.commands.dispatch(trigger_dict) sb.commands.dispatch(trigger_dict)