feat: show environment

This commit is contained in:
TrèsAbhi committed 2024-02-01 12:28:56 -06:00
1 parent e9c3953085
commit 082996b152
4 files changed
+24 -3

No files matched your search

@@ -6,8 +6,11 @@ export function SceneProps() {
const showGrid = useTankopediaPersistent(
(state) => state.model.visual.showGrid,
);
const showEnvironment = useTankopediaPersistent(
(state) => state.model.visual.showEnvironment,
);
if (!showGrid) return null;
if (!showGrid || showEnvironment) return null;
return (
<>