Advance after final rank vote and allow ballot changes
This commit is contained in:
@@ -229,6 +229,15 @@
|
||||
<div class="phase-view-layout" class:log-collapsed={!phaseLogOpen}>
|
||||
<CrewSidebar {state} />
|
||||
<main class="phase-main-column">
|
||||
{#if ['scene_setup', 'recruit_creation'].includes(state.game.phase) && (state.game.last_rank_up_player_id || state.game.current_scene_number > 1)}
|
||||
<div class="notice-banner" role="status">
|
||||
{#if state.game.last_rank_up_player_id}
|
||||
🏆 {displayName(state.players.find(p => p.id === state.game.last_rank_up_player_id))} won the rank-up vote!
|
||||
{:else}
|
||||
Voting complete. No one ranked up this time.
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{#if state.game.phase === 'lobby'}
|
||||
<LobbyPhase {state} />
|
||||
{:else if state.game.phase === 'character_creation' || state.game.phase === 'swap_techniques' || state.game.phase === 'assign_techniques'}
|
||||
|
||||
Reference in New Issue
Block a user