Skip to content

Commit

Permalink
fix: run script boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
zunderscore authored Jan 20, 2025
1 parent ec945ee commit 58c152e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function runScript(effect, trigger) {

logger.debug(`running script: ${scriptName}`);

if (SettingsManager.getSetting("RunCustomScripts")) {
if (!SettingsManager.getSetting("RunCustomScripts")) {
frontendCommunicator.send(
"error",
"Something attempted to run a custom script but this feature is disabled!"
Expand Down

0 comments on commit 58c152e

Please sign in to comment.