diff --git a/README.md b/README.md index f45440c..10fef15 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ of functions currently enabled and which ones have yet to be added. ### Functions Left to Port +- Get Config "PackedSensorSettings": @dataclass class SMXConfigFlags(object): - # If set, the panels will use the pressed animation when pressed, and step_color is ignored. - # If unset, panels will be lit solid using step_color. + # If True, the panels will use the pressed animation when pressed, and step_color is ignored. + # If False, panels will be lit solid using step_color. # master_version >= 4. Previous versions always use step_color. auto_lighting_use_pressed_animations: bool = True diff --git a/set_stage_configs.py b/set_stage_configs.py index 9ce04d7..1907bda 100644 --- a/set_stage_configs.py +++ b/set_stage_configs.py @@ -103,8 +103,7 @@ def make_new_config(player: int, old_config: SMXStageConfig) -> SMXStageConfig: config.platform_strip_color = [int(x * brightness) for x in platform_strip_color] config.auto_light_panel_mask = auto_light_mask if step_color: - # Enable flags to use step color - config.flags &= ~(1 << 0) + config.flags.auto_lighting_use_pressed_animations = False config.step_color = step_color config.panel_settings = panel_settings