Added additional delay to objects unlocking after texture change
This commit is contained in:
parent
30c2a596be
commit
bc5d13c1b4
@ -1341,9 +1341,11 @@ function updateTexture(overrideName)
|
||||
|
||||
-- unlock objects when mat is reloaded
|
||||
Wait.condition(function()
|
||||
Wait.frames(function()
|
||||
for _, obj in ipairs(objectsToUnlock) do
|
||||
obj.setLock(false)
|
||||
end
|
||||
end, 5)
|
||||
end, function() return reloadedMat.loading_custom == false end)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user