Skip to content

Commit 514a576

Browse files
committed
Allow start_step in show_tokens for shot profiles
(cherry picked from commit 9256f34)
1 parent fbdb9a5 commit 514a576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mpf/devices/shot.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ def _play_show(self, settings, start_step=None):
242242

243243
priority = settings['priority'] + self.mode.priority
244244
if not start_step:
245-
start_step = settings['start_step']
245+
start_step = show_tokens.get('start_step') or settings['start_step']
246246

247-
self.debug_log("Playing show: %s. %s", show_name, settings)
247+
self.debug_log("Playing show: %s (starting at step %s). %s", show_name, start_step, settings)
248248

249249
show_config = self.machine.show_controller.create_show_config(
250250
show_name, priority=priority, speed=settings.get("speed"),

0 commit comments

Comments
 (0)