From 25ddf379089f0e184c58befaefb348142f5f7116 Mon Sep 17 00:00:00 2001 From: AlmTech Date: Wed, 9 Oct 2019 18:45:53 +0200 Subject: [PATCH] Menu bug fix --- gamemode/engine/core/server/sv_player_init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gamemode/engine/core/server/sv_player_init.lua b/gamemode/engine/core/server/sv_player_init.lua index e57273e..f1e74c9 100644 --- a/gamemode/engine/core/server/sv_player_init.lua +++ b/gamemode/engine/core/server/sv_player_init.lua @@ -12,8 +12,6 @@ local ply = FindMetaTable( "Player" ) function GM:PlayerInitialSpawn( ply ) --ply.isloaded = true -- REMOVE THIS WHEN MYSQL DB IS ADDED -- load in all of the players characters and stuff from the MySQL DB - - Quantum.Net.OpenMenu( pl, "character", Quantum.Server.Char.GetPlayerChars( ply ) ) -- open the char select screen end local function setUpPlayer( ply ) @@ -33,6 +31,7 @@ function GM:PlayerSpawn( ply ) if( !ply.isloaded ) then ply:Spectate( OBS_MODE_FIXED ) -- set cinematic view here + Quantum.Net.OpenMenu( ply, "character", Quantum.Server.Char.GetPlayerChars( ply ) ) else ply:UnSpectate() setUpPlayer( ply )