Skip to content

Commit

Permalink
fix 1.92 colors not over-/underflowing
Browse files Browse the repository at this point in the history
  • Loading branch information
Bauumm committed Aug 29, 2024
1 parent 0ecca90 commit 57ae7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/game192/style.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local style = {}

local function set_default_color(color)
for i = 1, 4 do
color[i] = color[i] or 0
color[i] = (color[i] or 0) % 256
end
end

Expand Down

0 comments on commit 57ae7a0

Please sign in to comment.