forked from OpenWF/SpaceNinjaServer
		
	fix: don't default scale ship decorations to 1 (#603)
This commit is contained in:
		
							parent
							
								
									95bd07b50f
								
							
						
					
					
						commit
						ac09fcec5c
					
				@ -93,7 +93,7 @@ export const handleSetShipDecorations = async (
 | 
				
			|||||||
            Type: placedDecoration.Type,
 | 
					            Type: placedDecoration.Type,
 | 
				
			||||||
            Pos: placedDecoration.Pos,
 | 
					            Pos: placedDecoration.Pos,
 | 
				
			||||||
            Rot: placedDecoration.Rot,
 | 
					            Rot: placedDecoration.Rot,
 | 
				
			||||||
            Scale: placedDecoration.Scale || 1,
 | 
					            Scale: placedDecoration.Scale,
 | 
				
			||||||
            _id: placedDecoration.MoveId
 | 
					            _id: placedDecoration.MoveId
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -129,7 +129,7 @@ export const handleSetShipDecorations = async (
 | 
				
			|||||||
        Type: placedDecoration.Type,
 | 
					        Type: placedDecoration.Type,
 | 
				
			||||||
        Pos: placedDecoration.Pos,
 | 
					        Pos: placedDecoration.Pos,
 | 
				
			||||||
        Rot: placedDecoration.Rot,
 | 
					        Rot: placedDecoration.Rot,
 | 
				
			||||||
        Scale: placedDecoration.Scale || 1,
 | 
					        Scale: placedDecoration.Scale,
 | 
				
			||||||
        _id: decoId
 | 
					        _id: decoId
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -71,7 +71,7 @@ export interface IPlacedDecosDatabase {
 | 
				
			|||||||
    Type: string;
 | 
					    Type: string;
 | 
				
			||||||
    Pos: [number, number, number];
 | 
					    Pos: [number, number, number];
 | 
				
			||||||
    Rot: [number, number, number];
 | 
					    Rot: [number, number, number];
 | 
				
			||||||
    Scale: number;
 | 
					    Scale?: number;
 | 
				
			||||||
    PictureFrameInfo?: IPictureFrameInfo;
 | 
					    PictureFrameInfo?: IPictureFrameInfo;
 | 
				
			||||||
    _id: Types.ObjectId;
 | 
					    _id: Types.ObjectId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user