-- Cleans up the falling object after a delay

local function objectCleanup(object, cleanupDelay)

    delay(cleanupDelay, function()
        if object then
            object:Destroy()
        end
    end)
end
