1
0
forked from mico/idle_moloch

Makes boss info show only if the user is registered + fixed mismatch on prices displayed in client

This commit is contained in:
mic0 2024-10-31 13:57:05 +01:00
parent 5e9e430970
commit 5608c5a8fa
Signed by: mico
GPG Key ID: A3F8023524CF1C8D
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const RegistrationModal = ({ isOpen, setIsOpen }: RegistrationModalProps) => {
return <div className={styles.modal}>
<h2>Insert coins to continue</h2>
<div>
<button onClick={() => onRegister("RGCVII")}>50 RGCVII</button>
<button onClick={() => onRegister("RGCVII")}>500 RGCVII</button>
<button onClick={() => onRegister("ETH")}>0.0005 ETH</button>
</div>
</div>

View File

@ -35,7 +35,7 @@ const Scene = () => {
<div className={`${styles.clouds_small} ${styles.background_asset}`} />
<div className={`${styles.mountains} ${styles.background_asset} ${bossToMountainsClass[variant]}`} />
<div className={`${styles.village} ${styles.background_asset}`} />
<BossInfo />
{isRegistered && <BossInfo />}
<MarchingBand />
<div className={`${styles.bonfire} ${styles.background_asset}`} />
<Army />