mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
fix property proxy targets
This commit is contained in:
parent
0b915fbb72
commit
f95a8cf210
@ -195,9 +195,10 @@ end
|
||||
PART.Inputs = {}
|
||||
|
||||
PART.Inputs.property = function(self, property_name, field)
|
||||
local part = self:GetTarget()
|
||||
|
||||
if part:IsValid() and property_name then
|
||||
local part = self.TargetEntity:IsValid() and self.TargetEntity or self:GetParent()
|
||||
|
||||
if part:IsValid() and part.GetProperty and property_name then
|
||||
local v = part:GetProperty(property_name)
|
||||
|
||||
local T = type(v)
|
||||
|
Loading…
Reference in New Issue
Block a user