master
AlmTech Software 5 years ago
parent 7c8eabcbed
commit b771dca425
  1. 4
      gamemode/engine/core/sh_player_binds.lua
  2. 1
      gamemode/engine/derma/menus/menu_main.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

@ -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

Loading…
Cancel
Save