diff --git a/src/playermat/Playermat.ttslua b/src/playermat/Playermat.ttslua index d64a1cd9..78f6a129 100644 --- a/src/playermat/Playermat.ttslua +++ b/src/playermat/Playermat.ttslua @@ -1342,9 +1342,11 @@ function updateTexture(overrideName) -- unlock objects when mat is reloaded Wait.condition(function() - for _, obj in ipairs(objectsToUnlock) do - obj.setLock(false) - end + 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