Skip to content

Commit

Permalink
Show player slot on dice roll when there is no agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Zequez committed Nov 26, 2024
1 parent d3e6fd8 commit ca99246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/GameSpace/elements/Dice/Element.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<div class="absolute z-10 inset-0 rounded-md bg-[url('/noise20.png')] opacity-25"></div>
{#if showLastRoll}
{@const playerSlot = $state.playersSlots[lastRoll.playerSlot]}
{#if playerSlot && playerSlot.pubKey}
{#if playerSlot}
<div class="z-20 absolute -top-2 -left-2"
><PlayerIcon
pubKey={playerSlot.pubKey}
Expand Down

0 comments on commit ca99246

Please sign in to comment.