From 91da4cca82baa812175b22eb9d244d2b12553310 Mon Sep 17 00:00:00 2001 From: Rubat <3299036+robotboy655@users.noreply.github.com> Date: Wed, 24 Apr 2024 18:57:20 +0300 Subject: [PATCH] Fixed color modify defaults not resetting "invert color" setting --- garrysmod/lua/postprocess/color_modify.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/garrysmod/lua/postprocess/color_modify.lua b/garrysmod/lua/postprocess/color_modify.lua index 161060cc85..6f3ae2b6ae 100644 --- a/garrysmod/lua/postprocess/color_modify.lua +++ b/garrysmod/lua/postprocess/color_modify.lua @@ -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 )