Skip to content

Commit

Permalink
Fix small oversight
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmoonen committed May 15, 2024
1 parent 5427c59 commit 080ce51
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/servers/ZoneServer2016/entities/basefullcharacter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,12 @@ export abstract class BaseFullCharacter extends BaseLightweightCharacter {
// secondary
slot = LoadoutSlots.TERTIARY;
}
if (![Items.GRENADE_SMOKE].includes(itemDefId)) slot = 0;
if (
![Items.GRENADE_SMOKE].includes(itemDefId) &&
itemDef?.ITEM_CLASS == ItemClasses.THROWABLES
) {
slot = 0;
}
break;
case ItemClasses.WEAPONS_GENERIC: // item1/item2 slots
if (this._loadout[slot]?.itemDefinitionId) {
Expand Down

0 comments on commit 080ce51

Please sign in to comment.