Skip to content

Commit

Permalink
Make ShowHelp clientside
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyWing committed Mar 31, 2021
1 parent f5b5350 commit 49a3d33
Show file tree
Hide file tree
Showing 5 changed files with 1,037 additions and 1,052 deletions.
3 changes: 3 additions & 0 deletions src/gamemodes/amongus/gamemode/cl_hud.moon
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,9 @@ hook.Add "ScoreboardHide", "NMW AU Map", ->

return nil

hook.Add "PlayerBindPress", "PlayerBindPressExample", (ply, bind, pressed) ->
GAMEMODE\HUD_ShowHelp! if pressed and bind == "gm_showhelp"

concommand.Add "au_debug_eject_test", ->
if IsValid GAMEMODE.Hud.Eject
GAMEMODE.Hud.Eject\Remove!
Expand Down
Loading

0 comments on commit 49a3d33

Please sign in to comment.