diff options
author | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-03-01 15:31:27 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-03-01 15:31:27 -0700 |
commit | 07f508365f619d6bfe0a074dcf98c5ae8db17f08 (patch) | |
tree | 16b2a072998452ad72529e3d617f5c4a2df63c0c /src/components/GameCanvas.tsx | |
parent | 309ed20627ed798c464a9f97d9c32ceb1a314595 (diff) | |
download | the-abstraction-engine-07f508365f619d6bfe0a074dcf98c5ae8db17f08.tar.gz the-abstraction-engine-07f508365f619d6bfe0a074dcf98c5ae8db17f08.zip |
add carcadr level
Diffstat (limited to 'src/components/GameCanvas.tsx')
-rw-r--r-- | src/components/GameCanvas.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/GameCanvas.tsx b/src/components/GameCanvas.tsx index b6c585d..98ba506 100644 --- a/src/components/GameCanvas.tsx +++ b/src/components/GameCanvas.tsx @@ -11,7 +11,9 @@ export interface GameCanvasProps { export const GameCanvas = ({ width, height }: GameCanvasProps) => { const canvasRef = useRef<HTMLCanvasElement>(null); const [game, setGame] = useState<TheAbstractionEngine>(); - const [ready, setReady] = useState(false); + // TODO: go back to this after done + // const [ready, setReady] = useState(false); + const [ready, setReady] = useState(document.location.hostname.includes("localhost")); const [loading, setLoading] = useState(true); useEffect(() => { |