Added distance based creature culling

This commit is contained in:
2016-03-30 12:54:59 +11:00
parent 4794965166
commit a751531e18
6 changed files with 54 additions and 11 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ local function bunnySquare(creature)
--is it time to change direction?
if os.time() - tonumber(timestamp) > 3 then
if os.time() - tonumber(timestamp) >= 1 then
-- print("changing directions")
if string.match("south", direction) then