fix for the fake pill upgrade

This commit is contained in:
jill 2021-01-25 09:20:23 +03:00
parent 3a1183cdd7
commit 3b70bf9b5d
Signed by: oat
GPG key ID: DD83A9617A252385

View file

@ -150,11 +150,11 @@ return function(feesh, dt, food, headerbuttons, money)
n.size = 2
playSound('grow')
if not headerbuttons[2].open and not headerbuttons[1].closed then
if not headerbuttons[2].open and not headerbuttons[2].closed then
headerbuttons[2].open = true
headerbuttons[2].openanim = 0
end
if not headerbuttons[3].open and not headerbuttons[1].closed then
if not headerbuttons[3].open and not headerbuttons[3].closed then
headerbuttons[3].open = true
headerbuttons[3].openanim = 0
end