feat: more lighting

This commit is contained in:
TrèsAbhi committed 2025-08-29 13:21:41 -05:00
1 parent 5d397de766
commit 5c2e49453e
4 files changed
+17 -8

No files matched your search

@@ -16,6 +16,7 @@ import {
Path,
Quaternion,
} from 'three';
import { isHalloween } from '../../../core/blitzkit/isHalloween';
import { LocaleProvider, useLocale } from '../../../hooks/useLocale';
import {
TankopediaEphemeral,
@@ -72,11 +73,8 @@ export function ShotDisplay() {
});
useEffect(() => {
const data = new Date();
const isHalloween = data.getMonth() === 9 && data.getDate() === 31;
if (
isHalloween &&
isHalloween() &&
shot?.splashRadius !== undefined &&
shot.in.status === 'penetration'
) {