fixes
This commit is contained in:
parent
057e9d3d41
commit
18d9d681b8
|
@ -82,7 +82,7 @@ local headerbuttons = {
|
||||||
sprite = 'starpotion',
|
sprite = 'starpotion',
|
||||||
tooltip = 'buy star potion',
|
tooltip = 'buy star potion',
|
||||||
openanim = 1,
|
openanim = 1,
|
||||||
open = true,
|
open = false,
|
||||||
closed = false,
|
closed = false,
|
||||||
func = function()
|
func = function()
|
||||||
starpotionequipped = true
|
starpotionequipped = true
|
||||||
|
|
|
@ -212,6 +212,10 @@ return function(feesh, dt, food, headerbuttons, money)
|
||||||
headerbuttons[4].open = true
|
headerbuttons[4].open = true
|
||||||
headerbuttons[4].openanim = 0
|
headerbuttons[4].openanim = 0
|
||||||
end
|
end
|
||||||
|
if not headerbuttons[5].open and not headerbuttons[5].closed then
|
||||||
|
headerbuttons[5].open = true
|
||||||
|
headerbuttons[5].openanim = 0
|
||||||
|
end
|
||||||
end
|
end
|
||||||
if n.lifetime > FISH_AGE_KING and n.size == 2 then
|
if n.lifetime > FISH_AGE_KING and n.size == 2 then
|
||||||
n.size = 3
|
n.size = 3
|
||||||
|
|
Loading…
Reference in New Issue