fix a crash in endgame

main
Shoofle 8 months ago
parent 1b99832cd8
commit 9883154190
  1. 2
      screen_title.lua
  2. 4
      script_charcoal_seller.lua

@ -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

@ -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

Loading…
Cancel
Save