From fa8ab8024beb707097a5f9ef45f93a1e3c6442fb Mon Sep 17 00:00:00 2001 From: AlmTech Date: Sat, 7 Sep 2019 17:48:24 +0200 Subject: [PATCH] Bug fix --- gamemode/core/server/sv_player_init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemode/core/server/sv_player_init.lua b/gamemode/core/server/sv_player_init.lua index c0c986c..3fee045 100644 --- a/gamemode/core/server/sv_player_init.lua +++ b/gamemode/core/server/sv_player_init.lua @@ -11,7 +11,7 @@ function GM:PlayerSpawn( ply ) ply:SetModel( "models/player/Group03/male_04.mdl" ) - if( !ply:GetModel() || !ply:GetModel() == "" ) then + if( ply:GetModel() ~= nil ) then ply:SetupHands() else Quantum.Error( tostring(ply) .. " doesn't have a valid model. Unable to set up hands!" )