Skip to content

Commit 49a3d33

Browse files
committed
Make ShowHelp clientside
1 parent f5b5350 commit 49a3d33

File tree

5 files changed

+1037
-1052
lines changed

5 files changed

+1037
-1052
lines changed

src/gamemodes/amongus/gamemode/cl_hud.moon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,9 @@ hook.Add "ScoreboardHide", "NMW AU Map", ->
407407

408408
return nil
409409

410+
hook.Add "PlayerBindPress", "PlayerBindPressExample", (ply, bind, pressed) ->
411+
GAMEMODE\HUD_ShowHelp! if pressed and bind == "gm_showhelp"
412+
410413
concommand.Add "au_debug_eject_test", ->
411414
if IsValid GAMEMODE.Hud.Eject
412415
GAMEMODE.Hud.Eject\Remove!

0 commit comments

Comments
 (0)