Misc bugfixes
This commit is contained in:
parent
343e4a2ea9
commit
f30b7d6023
@ -10,7 +10,6 @@ function state_ironman:exit() end
|
|||||||
function state_ironman:reenter(round)
|
function state_ironman:reenter(round)
|
||||||
if round.outcome=="win" then
|
if round.outcome=="win" then
|
||||||
self.level+=1
|
self.level+=1
|
||||||
completion_tracker:advance_completion_level(round.board:get_completion_level())
|
|
||||||
elseif round.outcome=="menu" then
|
elseif round.outcome=="menu" then
|
||||||
self.done=true
|
self.done=true
|
||||||
elseif round.outcome=="restart" then
|
elseif round.outcome=="restart" then
|
||||||
|
@ -7,7 +7,9 @@ function state_wonround:init(board)
|
|||||||
self.card=self.board:get_endgame_card()
|
self.card=self.board:get_endgame_card()
|
||||||
self.verse_name,self.verse=liturgy:suggest_verse(self.board.ruleset,self.card)
|
self.verse_name,self.verse=liturgy:suggest_verse(self.board.ruleset,self.card)
|
||||||
end
|
end
|
||||||
function state_wonround:enter() end
|
function state_wonround:enter()
|
||||||
|
completion_tracker:advance_completion_level(self.board:get_completion_level())
|
||||||
|
end
|
||||||
function state_wonround:exit(new_top) end
|
function state_wonround:exit(new_top) end
|
||||||
|
|
||||||
function state_wonround:reenter() end
|
function state_wonround:reenter() end
|
||||||
|
Loading…
Reference in New Issue
Block a user