Skip to content

Commit

Permalink
Fix logic for disabling SWS red ruler
Browse files Browse the repository at this point in the history
  • Loading branch information
chmaha committed Nov 23, 2024
1 parent 0c0331c commit 506c0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReaClassical/ReaClassical_Take Counter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ SetToggleCommandState(1, take_counter, 1)

local red_ruler = NamedCommandLookup("_SWS_RECREDRULER")
local red_ruler_state = GetToggleCommandState(red_ruler)
if red_ruler_state then
if red_ruler_state == 1 then
Main_OnCommand(red_ruler, 0)
end

Expand Down

0 comments on commit 506c0e6

Please sign in to comment.