diff --git a/gamemode/engine/core/sh_player_binds.lua b/gamemode/engine/core/sh_player_binds.lua index f2c1aaf..796978f 100644 --- a/gamemode/engine/core/sh_player_binds.lua +++ b/gamemode/engine/core/sh_player_binds.lua @@ -14,6 +14,9 @@ if SERVER then end, ["mainMenu"] = function( pl ) Quantum.Net.OpenMenu( pl, "main", Quantum.Server.Char.GetPlayerChars_cl( pl ) ) + end, + ["intro"] = function( pl ) + Quantum.Net.OpenMenu( pl, "intro", {} ) end } @@ -22,5 +25,6 @@ if SERVER then end function GM:ShowHelp( ply ) keyfuncs["openCharMenu"]( ply ) end function GM:ShowTeam( ply ) keyfuncs["mainMenu"]( ply ) end + function GM:ShowSpare2( ply ) keyfuncs["intro"]( ply ) end end \ No newline at end of file diff --git a/gamemode/engine/derma/menus/menu_main.lua b/gamemode/engine/derma/menus/menu_main.lua index ee0e79b..b9df782 100644 --- a/gamemode/engine/derma/menus/menu_main.lua +++ b/gamemode/engine/derma/menus/menu_main.lua @@ -130,7 +130,6 @@ function main.open(dt) play.DoClick = function( self ) surface.PlaySound( "UI/buttonclick.wav" ) - --charmenu.open( dt ) f:Close() end play.OnCursorEntered = function() surface.PlaySound( "UI/buttonrollover.wav" ) end