mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: correct yaw mutation call
This commit is contained in:
1 parent
e0feb45f48
commit
edb9104d77
1 file changed
+1
-1
@@ -73,7 +73,7 @@ export function RotationInputs() {
|
||||
turretModelDefinition.yaw,
|
||||
);
|
||||
modelTransformEvent.emit({ pitch, yaw });
|
||||
useDuel((state) => {
|
||||
mutateDuel((state) => {
|
||||
state.protagonist!.pitch = pitch;
|
||||
state.protagonist!.yaw = yaw;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user