From a19b55f30b6974c2f86d1dc6df92675321a349cd Mon Sep 17 00:00:00 2001 From: AlmTech Software Date: Fri, 17 Jan 2020 20:49:54 +0100 Subject: [PATCH] Bug fix --- gamemode/engine/core/server/sv_player_init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gamemode/engine/core/server/sv_player_init.lua b/gamemode/engine/core/server/sv_player_init.lua index 25be8cb..f94bf5d 100644 --- a/gamemode/engine/core/server/sv_player_init.lua +++ b/gamemode/engine/core/server/sv_player_init.lua @@ -45,6 +45,9 @@ local function setUpPlayer( ply ) ply:SetFOV( 80 ) + ply:Give( "quantum_hands" ) + ply:SelectWeapon( "quantum_hands" ) + Quantum.Debug( tostring( ply ) .. charnametxt ) end @@ -54,9 +57,6 @@ function GM:PlayerSpawn( ply ) if( ply.isloaded == true ) then ply:UnSpectate() setUpPlayer( ply ) - - ply:Give( "quantum_hands" ) - ply:SelectWeapon( "quantum_hands" ) else ply:SetPos( Vector( -8936.411133, 8244.439453, 7744.031250 ) ) Quantum.Net.OpenMenu( ply, "main", { chars = Quantum.Server.Char.GetPlayerChars_cl( ply ) } ) -- make the player open the main menu