Skip to content

force_enable does not work when sid is not auto #42

@BigBrainAFK

Description

@BigBrainAFK

So I tried configuring some custom rules but ran into an issue.

force_enable is supposed to force the script to run even when sid is not set to auto.

After some looking around the code this seems to come from here

I moved this check up to where ENABLED gets defined

local ENABLED = o.force_enable or mp.get_property('options/sid') == 'auto'

This did make the force_enable behave as described in the .conf file but I am unsure if I missed something or if this is a bug that people using this script just don't run into usually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions