mirror of
https://github.com/thirteen-io/Advanced-Bone-Tool.git
synced 2025-03-04 03:13:35 -05:00
Merge branch 'master' into dev
# Conflicts: # lua/weapons/gmod_tool/stools/adv_bone.lua
This commit is contained in:
commit
525f5771ae
@ -91,6 +91,7 @@ end
|
||||
function TOOL:SelectEntity( ent, physbone )
|
||||
if CLIENT then return true end
|
||||
if ( IsValid( ent ) ) then
|
||||
if ( IsValid( ent.AttachedEntity ) ) then ent = ent.AttachedEntity end
|
||||
self.Entity = ent
|
||||
self.Bone = self.Entity:TranslatePhysBoneToBone( physbone ) or 0
|
||||
self:GetOwner():SetNWEntity( "AdvBoneEntity", self.Entity )
|
||||
|
Loading…
Reference in New Issue
Block a user