fixes
This commit is contained in:
parent
0cf9e962b6
commit
e764082a80
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ function self.fish(x, y, type)
|
|||
local fish = {
|
||||
x = x,
|
||||
y = y,
|
||||
size = 2, -- 0 for small, 1 for medium, 2 for big, 3 for king, 4 for carnivore
|
||||
size = type, -- 0 for small, 1 for medium, 2 for big, 3 for king, 4 for carnivore
|
||||
eattimer = 0 + math.random() * 2, -- starts out hungry, with a 2s delay
|
||||
moneytimer = 10 + math.random() * 5, -- min 10s before it can make money
|
||||
dead = false,
|
||||
|
|
|
@ -183,7 +183,7 @@ return function(feesh, dt, food, headerbuttons, money)
|
|||
if n.size == 2 or n.size == 3 then
|
||||
n.star = true
|
||||
else
|
||||
n.eattimer = -9e9
|
||||
n.eattimer = FISH_FOOD_DEAD
|
||||
playSound('explode')
|
||||
end
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue