Skip to content

Commit 9ba7629

Browse files
committed
Fix comms sabotage resetting the task bar
1 parent 5466378 commit 9ba7629

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/gamemodes/amongus/gamemode/vgui/vgui_hud.moon

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ hud.Think = =>
688688
\SetText " " .. TRANSLATE "tasks.totalCompleted.sabotaged"
689689
\SetColor Color 255, 64, 64
690690

691-
@SetTaskbarValue 0
691+
@taskbar\AlphaTo 0, 1
692692

693693
-- Comms have been fixed.
694694
-- Restore the task list and remove the blinker.
@@ -704,6 +704,8 @@ hud.Think = =>
704704
\SetText " " .. TRANSLATE "tasks.totalCompleted"
705705
\SetColor Color 255, 255, 255
706706

707+
@taskbar\AlphaTo 255, 1
708+
707709
@__oldCommsSabotaged = commsSabotaged
708710

709711
return vgui.RegisterTable hud, "Panel"

0 commit comments

Comments
 (0)