consistent indentation

This commit is contained in:
lustlion
2022-02-26 03:56:53 +01:00
parent 42cf9cfec8
commit 1580dc3463
38 changed files with 2071 additions and 2071 deletions

View File

@@ -7,7 +7,7 @@ function LoadedObjects.DrawCollisions()
end
for _, platform in pairs(LoadedObjects.Platforms) do
if platform.disable == true then platform:Draw(2) end
if platform.disable == true then platform:Draw(2) end
if platform.disable == false then platform:Draw(1) end
end
@@ -37,7 +37,7 @@ function isThereObjectAt(x,y,objectType)
end
function isThereCollisionAt(x,y)
if x >= 0 and x < #CollisionTable
if x >= 0 and x < #CollisionTable
and y >= 0 and y < #CollisionTable[0] then
return CollisionTable[math.floor(y)][math.floor(x)]
end