automatic update

This commit is contained in:
HybridDog 2015-03-07 16:02:28 +01:00
parent 052a995875
commit 622e644cfd
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ function vector.sun_dir(time)
end
function vector.inside(pos, minp, maxp)
for _,i in ipairs({"x", "y", "z"}) do
for _,i in pairs({"x", "y", "z"}) do
if pos[i] < minp[i]
or pos[i] > maxp[i] then
return false