Skip to content

Commit 8bc4197

Browse files
authored
ecostats: fix pregame opacity (beyond-all-reason#4886)
1 parent 1cf8b60 commit 8bc4197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

luaui/Widgets/gui_ecostats.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ local function DrawBox(hOffset, vOffset, r, g, b)
10091009
widgetPosX + hOffset + dx,
10101010
widgetPosY + widgetHeight - vOffset + dy + h,
10111011
h * 0.055,
1012-
1, 1, 1, 1, { r * 0.75, g * 0.75, b * 0.75, useRenderToTexture and 0.8 or 0.4 }, { r, g, b, useRenderToTexture and 0.8 or 0.4 }
1012+
1, 1, 1, 1, { r * 0.5, g * 0.5, b * 0.5, 1 }, { r, g, b, 1 }
10131013
)
10141014
glColor(1, 1, 1, 1)
10151015
end

0 commit comments

Comments
 (0)