Skip to content

Commit

Permalink
2.0.2
Browse files Browse the repository at this point in the history
Updated support for Gmod Legs 3.8.5: Removed old workaround for
refreshing, since it can now be called directly.
  • Loading branch information
LibertyForce-Gmod committed May 14, 2016
1 parent 2fd0fea commit 7799510
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions lua/autorun/lf_playermodel_selector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,7 @@ local function UpdatePlayerModel( ply )
end )

if legs_installed then
ply:SetNWString( "realModel", mdlpath )
timer.Simple( 0.1, function()
net.Start("lf_playermodel_update")
net.Send( ply )
end )
ply:ConCommand( "cl_refreshlegs" )
end

end
Expand Down Expand Up @@ -234,10 +230,6 @@ hook.Add( "PostGamemodeLoaded", "lf_playermodel_sboxcvars", function()
end )


net.Receive("lf_playermodel_update", function()
include( "autorun/sh_legs.lua" )
end )

local function KeyboardOn( pnl )
if ( IsValid( Frame ) and IsValid( pnl ) and pnl:HasParent( Frame ) ) then
Frame:SetKeyboardInputEnabled( true )
Expand Down

0 comments on commit 7799510

Please sign in to comment.