Merge pull request #903 from argonui/playermat

Additional way of stopping objects from falling through the playermat
This commit is contained in:
dscarpac 2024-10-06 16:36:34 -05:00 committed by GitHub
commit bcf6b14126
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1449,6 +1449,7 @@ function updateTexture(overrideName)
Wait.frames(function()
for _, obj in ipairs(objectsToUnlock) do
obj.setLock(false)
obj.resting = true
end
end, 5)
end, function() return reloadedMat.loading_custom == false end)