forked from OpenWF/SpaceNinjaServer
		
	fix: not being able to unequip gear when "visible when holstered" is off (#216)
This commit is contained in:
		
							parent
							
								
									3b88a667a9
								
							
						
					
					
						commit
						f4ab8e2233
					
				@ -14,10 +14,7 @@ const oidSchema = new Schema<IOid>(
 | 
				
			|||||||
//create a mongoose schema based on interface M
 | 
					//create a mongoose schema based on interface M
 | 
				
			||||||
const EquipmentSelectionSchema = new Schema<IEquipmentSelection>(
 | 
					const EquipmentSelectionSchema = new Schema<IEquipmentSelection>(
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        ItemId: {
 | 
					        ItemId: oidSchema,
 | 
				
			||||||
            type: oidSchema,
 | 
					 | 
				
			||||||
            default: { $oid: "000000000000000000000000" }
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        mod: Number,
 | 
					        mod: Number,
 | 
				
			||||||
        cus: Number,
 | 
					        cus: Number,
 | 
				
			||||||
        hide: Boolean
 | 
					        hide: Boolean
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user