fix: not being able to unequip gear when "visible when holstered" is off

This commit is contained in:
Sainan 2024-05-11 12:57:08 +02:00
parent 3b88a667a9
commit d37cbe0186

View File

@ -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