Skip to content

Commit

Permalink
Fixed color modify defaults not resetting "invert color" setting
Browse files Browse the repository at this point in the history
  • Loading branch information
robotboy655 committed Apr 24, 2024
1 parent 7cd376f commit 91da4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garrysmod/lua/postprocess/color_modify.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ list.Set( "PostProcess", "#colormod_pp", {
CPanel:AddControl( "CheckBox", { Label = "#colormod_pp.enable", Command = "pp_colormod" } )

local params = { Options = {}, CVars = {}, MenuButton = "1", Folder = "colormod" }
params.Options[ "#preset.default" ] = { pp_colormod_addr = "0", pp_colormod_addg = "0", pp_colormod_addb = "0", pp_colormod_brightness = "0", pp_colormod_contrast = "1", pp_colormod_color = "1", pp_colormod_mulr = "0", pp_colormod_mulg = "0", pp_colormod_mulb = "0" }
params.Options[ "#preset.default" ] = { pp_colormod_addr = "0", pp_colormod_addg = "0", pp_colormod_addb = "0", pp_colormod_brightness = "0", pp_colormod_contrast = "1", pp_colormod_color = "1", pp_colormod_mulr = "0", pp_colormod_mulg = "0", pp_colormod_mulb = "0", pp_colormod_inv = "0" }
params.CVars = table.GetKeys( params.Options[ "#preset.default" ] )
CPanel:AddControl( "ComboBox", params )

Expand Down

0 comments on commit 91da4cc

Please sign in to comment.