feat: save EquippedEmotes (#449)

This commit is contained in:
Sainan 2024-07-03 12:33:09 +02:00 committed by GitHub
parent de6745ce19
commit e7889fc8c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -167,8 +167,9 @@ export const handleInventoryItemConfigChange = async (
inventory.CurrentLoadOutIds = loadoutIds;
break;
}
case "EquippedGear": {
inventory.EquippedGear = equipment as string[];
case "EquippedGear":
case "EquippedEmotes": {
inventory[equipmentName] = equipment as string[];
break;
}
case "UseAdultOperatorLoadout": {

View File

@ -33,6 +33,7 @@ export interface ISaveLoadoutRequest {
CurrentLoadOutIds: IOid[];
ValidNewLoadoutId: string;
EquippedGear: string[];
EquippedEmotes: string[];
UseAdultOperatorLoadout: boolean;
}