fix: correct yaw mutation call

This commit is contained in:
TrèsAbhi committed 2024-02-22 18:44:32 -06:00
1 parent e0feb45f48
commit edb9104d77
1 file changed
+1 -1
@@ -73,7 +73,7 @@ export function RotationInputs() {
turretModelDefinition.yaw, turretModelDefinition.yaw,
); );
modelTransformEvent.emit({ pitch, yaw }); modelTransformEvent.emit({ pitch, yaw });
useDuel((state) => { mutateDuel((state) => {
state.protagonist!.pitch = pitch; state.protagonist!.pitch = pitch;
state.protagonist!.yaw = yaw; state.protagonist!.yaw = yaw;
}); });