Skip to content

Commit 9a73ac4

Browse files
committed
Make clipValue global again
Needed by vtx page
1 parent fada4f7 commit 9a73ac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SCRIPTS/BF/ui.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ local function incMax(val, inc, base)
144144
return ((val + inc + base - 1) % base) + 1
145145
end
146146

147-
local function clipValue(val,min,max)
147+
function clipValue(val,min,max)
148148
if val < min then
149149
val = min
150150
elseif val > max then

0 commit comments

Comments
 (0)