Browse Source

whoa, is that an update, TWO?

master
Madiwka 1 year ago
parent
commit
5db039bffe
2 changed files with 1 additions and 1 deletions
  1. BIN
      game.love
  2. +1
    -1
      main.lua

BIN
game.love View File


+ 1
- 1
main.lua View File

@@ -38,7 +38,7 @@ function regulator()
end end
if #edibles < #bugs/3 and rules["abundantFood"] then if #edibles < #bugs/3 and rules["abundantFood"] then
table.insert(edibles, edible(math.random(0, VIRTUAL_HEIGHT), math.random(0, VIRTUAL_WIDTH), 10)) table.insert(edibles, edible(math.random(0, VIRTUAL_HEIGHT), math.random(0, VIRTUAL_WIDTH), 10))
elseif #edibles <= 3 then
elseif #edibles <= 10 then
table.insert(edibles, edible(math.random(0, VIRTUAL_HEIGHT), math.random(0, VIRTUAL_WIDTH), 10)) table.insert(edibles, edible(math.random(0, VIRTUAL_HEIGHT), math.random(0, VIRTUAL_WIDTH), 10))
end end
end end


Loading…
Cancel
Save