We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd3ae0d commit 2d85effCopy full SHA for 2d85eff
lua/pac3/core/client/parts/proxy.lua
@@ -281,11 +281,14 @@ end
281
282
PART.Inputs = {}
283
284
-PART.Inputs.property = function(self, property_name, field)
+PART.Inputs.property = function(self, property_name, field, uid)
285
286
local part = self.TargetEntity:IsValid() and self.TargetEntity or self:GetParent()
287
+ if uid then
288
+ part = self:GetOrFindCachedPart(uid)
289
+ end
290
- if part:IsValid() and part.GetProperty and property_name then
291
+ if part and part:IsValid() and part.GetProperty and property_name then
292
local v = part:GetProperty(property_name)
293
294
local T = type(v)
0 commit comments