feat: move href logic to state mgr
This commit is contained in:
@@ -70,7 +70,6 @@ export default function TheCreature() {
|
||||
camera.position.y += (Math.random() - 0.5) * shakeIntensity;
|
||||
|
||||
if (globalDistance.current <= 0.1) {
|
||||
window.location.href = '/';
|
||||
fearState.registerCaught();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user