dont allow using c_hand models as regular player models
without this players can use a c_hand model and then outfitter to have a normal looking player model despite having a broken hitbox.
This commit is contained in:
parent
425ad89b43
commit
1d40eb26d8
@ -176,6 +176,8 @@ local function UpdatePlayerModel( ply )
|
||||
local mdlname = ply:GetInfo( "cl_playermodel" )
|
||||
local mdlpath = player_manager.TranslatePlayerModel( mdlname )
|
||||
|
||||
if player_manager.TranslatePlayerHands( mdlname ).model == mdlpath then mdlpath = "models/player/kleiner.mdl" end
|
||||
|
||||
SetMDL( ply, mdlpath )
|
||||
if debugmode then print( "LF_PMS: Set model to: "..tostring( mdlname ).." - "..tostring( mdlpath ) ) end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user