mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Special-case Lighting.Technology in setCanonicalProperty, temporary fix
This commit is contained in:
parent
913ac7c9f5
commit
6db714a2b1
2 changed files with 6 additions and 0 deletions
|
|
@ -19,6 +19,11 @@ local function setCanonicalProperty(instance, key, value)
|
|||
return
|
||||
end
|
||||
|
||||
-- Temporary workaround for fixing issue #141 in this specific case.
|
||||
if instance.ClassName == "Lighting" and key == "Technology" then
|
||||
return
|
||||
end
|
||||
|
||||
-- If we don't have permissions to access this value at all, we can skip it.
|
||||
local readSuccess, existingValue = pcall(function()
|
||||
return instance[key]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue