fix: don't default scale ship decorations to 1 (#603)

This commit is contained in:
Sainan 2024-12-22 20:34:04 +01:00 committed by GitHub
parent 95bd07b50f
commit ac09fcec5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ export const handleSetShipDecorations = async (
Type: placedDecoration.Type,
Pos: placedDecoration.Pos,
Rot: placedDecoration.Rot,
Scale: placedDecoration.Scale || 1,
Scale: placedDecoration.Scale,
_id: placedDecoration.MoveId
};
@ -129,7 +129,7 @@ export const handleSetShipDecorations = async (
Type: placedDecoration.Type,
Pos: placedDecoration.Pos,
Rot: placedDecoration.Rot,
Scale: placedDecoration.Scale || 1,
Scale: placedDecoration.Scale,
_id: decoId
});

View File

@ -71,7 +71,7 @@ export interface IPlacedDecosDatabase {
Type: string;
Pos: [number, number, number];
Rot: [number, number, number];
Scale: number;
Scale?: number;
PictureFrameInfo?: IPictureFrameInfo;
_id: Types.ObjectId;
}