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

This commit is contained in:
Sainan 2024-05-12 23:35:48 +02:00 committed by GitHub
parent 3b88a667a9
commit f4ab8e2233
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,10 +14,7 @@ const oidSchema = new Schema<IOid>(
//create a mongoose schema based on interface M
const EquipmentSelectionSchema = new Schema<IEquipmentSelection>(
{
ItemId: {
type: oidSchema,
default: { $oid: "000000000000000000000000" }
},
ItemId: oidSchema,
mod: Number,
cus: Number,
hide: Boolean