fix a crash in endgame

This commit is contained in:
Shoofle 2024-02-05 10:39:36 -05:00
parent 1b99832cd8
commit 9883154190
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ function title_draw()
x = print(big .. c, x, 30 + sin(x/128+time()/4)*2, col) x = print(big .. c, x, 30 + sin(x/128+time()/4)*2, col)
end end
print("VERSION 1.16", 64-(5*4), 80) print("VERSION 1.17", 64-(5*4), 80)
print("press 🅾️ or ❎ to start", 64-(11*4), 90) print("press 🅾️ or ❎ to start", 64-(11*4), 90)
end end

View File

@ -57,8 +57,8 @@ function script_charcoal_seller(s) -- the brick house!
add(inventory, make_item(library.item_blueprints.charcoal)) add(inventory, make_item(library.item_blueprints.charcoal))
sfx(7) sfx(7)
toast("received charcoal!") toast("received charcoal!")
if story_state.branch_hans == 3 and story_state.branch_lenore == 3 and story_state.branch_brigitte == 2 then if s.branch_hans == 3 and s.branch_lenore == 3 and s.branch_brigitte == 2 then
story_state.main = 8 s.main = 8
end end
end -- end hans branch end -- end hans branch
elseif s.main == 8 then elseif s.main == 8 then