Ignore:
Timestamp:
06/25/22 11:30:19 (2 years ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
b13f93b
Parents:
9bd09b0
Message:

Finished Roulette

File:
1 edited

Legend:

Unmodified
Added
Removed
  • components/roulette/BetModal.jsx

    r9bd09b0 race7865  
    5252                  betModal: false,
    5353                },
    54                 coinPlaced: {
    55                   x: 0,
    56                   y: 0
    57                 }
     54                showCoin: false,
    5855              }))
    5956        }
     
    6461                    ...styleState.roulette.displays,
    6562                    betModal: false,
    66                 }
     63                },
     64                showCoin: true,
    6765            }));
    6866        }
     
    7068
    7169    return (
    72         <div className="rouletteBetModal" style={{display: styleState.roulette.displays.betModal ? 'flex' : 'none'}}>
     70        <div className="rouletteBetModal" style={{display: styleState.roulette.displays.betModal && playerState.rouletteGame.timeToStart > 10 ? 'flex' : 'none'}}>
    7371            <p>You have chosen to bet on: <span>{styleState.roulette.whichBets.map((bet, i) => `${bet} `)}</span><br/>Please select the amount you will bet</p>
    7472            <div>
Note: See TracChangeset for help on using the changeset viewer.