diff --git a/scenes/gameplay/main.lua b/scenes/gameplay/main.lua index 7a50b4b..b769018 100644 --- a/scenes/gameplay/main.lua +++ b/scenes/gameplay/main.lua @@ -82,7 +82,7 @@ local headerbuttons = { sprite = 'starpotion', tooltip = 'buy star potion', openanim = 1, - open = true, + open = false, closed = false, func = function() starpotionequipped = true diff --git a/scenes/gameplay/update/fish.lua b/scenes/gameplay/update/fish.lua index d00a0ac..83645a9 100644 --- a/scenes/gameplay/update/fish.lua +++ b/scenes/gameplay/update/fish.lua @@ -212,6 +212,10 @@ return function(feesh, dt, food, headerbuttons, money) headerbuttons[4].open = true headerbuttons[4].openanim = 0 end + if not headerbuttons[5].open and not headerbuttons[5].closed then + headerbuttons[5].open = true + headerbuttons[5].openanim = 0 + end end if n.lifetime > FISH_AGE_KING and n.size == 2 then n.size = 3