fix: lighting too bright for pbr tanks

This commit is contained in:
TrèsAbhi committed 2024-10-26 13:47:32 -05:00
1 parent b3d206b0ae
commit 489fb23683
1 file changed
+1 -1
@@ -9,7 +9,7 @@ export function Lighting() {
const display = TankopediaPersistent.use((state) => state.display);
const { hasPbr } = useModel(protagonist.tank.id);
const isBrighterLighting =
hasPbr && display !== TankopediaDisplay.StaticArmor;
!hasPbr && display !== TankopediaDisplay.StaticArmor;
const showEnvironment = TankopediaPersistent.use(
(state) => state.showEnvironment,
);