diff --git a/gamemode/engine/core/server/sv_player_init.lua b/gamemode/engine/core/server/sv_player_init.lua index f1e74c9..b17cbf0 100644 --- a/gamemode/engine/core/server/sv_player_init.lua +++ b/gamemode/engine/core/server/sv_player_init.lua @@ -10,7 +10,7 @@ Quantum.Server.Player = {} local ply = FindMetaTable( "Player" ) function GM:PlayerInitialSpawn( ply ) - --ply.isloaded = true -- REMOVE THIS WHEN MYSQL DB IS ADDED + ply.isloaded = true -- REMOVE THIS WHEN MYSQL DB IS ADDED -- load in all of the players characters and stuff from the MySQL DB end diff --git a/gamemode/engine/derma/menus/menu_character.lua b/gamemode/engine/derma/menus/menu_character.lua index 98776b9..6f10fda 100644 --- a/gamemode/engine/derma/menus/menu_character.lua +++ b/gamemode/engine/derma/menus/menu_character.lua @@ -500,7 +500,7 @@ function menu.open( dt ) p.enter.DoClick = function() surface.PlaySound( "UI/buttonclick.wav" ) -- enter world -- - snm.RunNetworkedFunc( "enterWorldChar", {index = selectedChar.index} ) + snm.RunNetworkedFunc( "enterWorldChar", {index = selectedChar.index} ) -- FIX CRASH ISSUE ( 0xC00000FD ) end p.enter.OnCursorEntered = function() surface.PlaySound( "UI/buttonrollover.wav" ) end end diff --git a/gamemode/engine/lib/server/sv_character.lua b/gamemode/engine/lib/server/sv_character.lua index a1f67a9..ef4fdfa 100644 --- a/gamemode/engine/lib/server/sv_character.lua +++ b/gamemode/engine/lib/server/sv_character.lua @@ -59,7 +59,7 @@ function Quantum.Server.Char.GetCurrentCharacter( pl ) end local function setupCharacter( pl, char ) - pl:Respawn() + pl:Spawn() pl:SetMaxHealth( char.maxhealth ) pl:SetHealth( char.health ) pl:SetModel( char.model )