diff --git a/app/src/components/PixelatedQuote.tsx b/app/src/components/PixelatedQuote.tsx index 96ffd66..fc4f07a 100644 --- a/app/src/components/PixelatedQuote.tsx +++ b/app/src/components/PixelatedQuote.tsx @@ -4,17 +4,17 @@ import styles from "../styles/Army.module.css"; // Quote categories based on total minted GELD const PROGRESSION_TIERS = { - BEGINNER: BigInt(1000000), - NOVICE: BigInt(10000000), - INTERMEDIATE: BigInt(100000000), - EXPERIENCED: BigInt(1000000000), - EXPERT: BigInt(10000000000), - MASTER: BigInt(100000000000), - EPIC: BigInt(1000000000000), - LEGENDARY: BigInt(10000000000000), - GUILD_LEADER: BigInt(100000000000000), - DIVINE: BigInt(1000000000000000), - MAXIMUM: BigInt(10000000000000000), + BEGINNER: BigInt("1000000"), + NOVICE: BigInt("10000000"), + INTERMEDIATE: BigInt("100000000"), + EXPERIENCED: BigInt("1000000000"), + EXPERT: BigInt("10000000000"), + MASTER: BigInt("100000000000"), + EPIC: BigInt("1000000000000"), + LEGENDARY: BigInt("10000000000000"), + GUILD_LEADER: BigInt("100000000000000"), + DIVINE: BigInt("1000000000000000"), + MAXIMUM: BigInt("10000000000000000"), }; const quotes = { @@ -177,7 +177,7 @@ function PixelatedQuote() { intervalIdRef.current = setInterval(() => { const totalMinted = player?.total_minted ?? BigInt(0); - + // Show welcome message only once at the start if (!hasShownWelcome.current) { setCurrentQuote("Welcome to the Dark Forest!"); diff --git a/app/src/components/Scene.tsx b/app/src/components/Scene.tsx index ca19d1e..739eba3 100644 --- a/app/src/components/Scene.tsx +++ b/app/src/components/Scene.tsx @@ -20,7 +20,7 @@ const bossToMountainsClass = { } const Scene = () => { - const { isRegistered, boss } = usePlayer(); + const { isRegistered, boss, player } = usePlayer(); const [isLeaderboardOpen, setIsLeaderboardOpen] = useState(false); const handleMusicReady = useCallback((unmute: () => void) => { @@ -38,7 +38,7 @@ const Scene = () => {
- {isRegistered &&