mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 13:16:11 +01:00
feat: new lighting env
This commit is contained in:
1 parent
1944745902
commit
abc8acb6ed
3 files changed
+6
-6
No files matched your search
@@ -73,7 +73,7 @@ export function Options({ thicknessRange }: OptionsProps) {
|
||||
const opaque = TankopediaPersistent.use((state) => state.model.visual.opaque);
|
||||
const fullScreenAvailable = useFullscreenAvailability();
|
||||
const environment = TankopediaPersistent.use(
|
||||
(state) => state.model.visual.environment,
|
||||
(state) => state.model.visual.environmentV2,
|
||||
);
|
||||
const developerMode = App.use((state) => state.developerMode);
|
||||
const antagonistGun = Duel.use((state) => state.antagonist.gun);
|
||||
@@ -610,7 +610,7 @@ export function Options({ thicknessRange }: OptionsProps) {
|
||||
value={environment}
|
||||
onClick={() => {
|
||||
mutateTankopediaPersistent((draft) => {
|
||||
draft.model.visual.environment = environment;
|
||||
draft.model.visual.environmentV2 = environment;
|
||||
});
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user