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

Merged
Sainan merged 1 commits from fix-unequip into main 2024-05-12 14:35:48 -07:00
Showing only changes of commit d37cbe0186 - Show all commits

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