Skip to content

Commit 72ba52e

Browse files
fix autobalance toggle issue
1 parent 8199b42 commit 72ba52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CharacterController.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ export default function CharacterController(props) {
539539
autoBalance ? true : false,
540540
autoBalance ? true : false
541541
);
542-
}, []);
542+
}, [autoBalance]);
543543

544544
useFrame((state, delta) => {
545545
// Character current position

0 commit comments

Comments
 (0)