mpf icon indicating copy to clipboard operation
mpf copied to clipboard

Placeholders in auto_fire_on_unexpected_ball

Open jabdoa2 opened this issue 6 years ago • 2 comments

Change auto_fire_on_unexpected_ball to template_bool in ball_device

jabdoa2 avatar Aug 05 '17 06:08 jabdoa2

To clarify, this is just changing the name of a variable, correct?

RoseAndres avatar Oct 05 '17 01:10 RoseAndres

It should change the type of the variable in core/config-spec.py (from bool to template_bool). Templates are evaluated at runtime. Therefore we have to call evaluate() on usage of the variable (probably only one or two places).

jabdoa2 avatar Oct 05 '17 06:10 jabdoa2