- fix for reported error popping up

This commit is contained in:
parnic
2010-10-12 12:45:33 +00:00
parent f93465037d
commit 1741f54321

View File

@ -190,7 +190,7 @@ end
function Breakables:CheckShouldFindBreakables()
local latestTime = -1
for i=0,#nextCheck do
if nextCheck[i] > latestTime then
if nextCheck[i] and nextCheck[i] > latestTime then
latestTime = nextCheck[i]
end
end