yeah table uh not sure

This commit is contained in:
lustlion
2022-02-18 00:03:32 +01:00
parent 8e9078e929
commit a722c019f3
4 changed files with 8 additions and 3 deletions

View File

@@ -9,6 +9,10 @@ LoadedObjects = {
-- level functions
function LoadedObjects.DrawCollisions()
for _, ladder in pairs(LoadedObjects.Collisions) do
ladder:Draw(1)
end
for _, platform in pairs(LoadedObjects.Platforms) do
if platform.disable == true then platform:Draw(2) end
if platform.disable == false then platform:Draw(1) end