Fixed airdrop crates having the incorrect id
This commit is contained in:
parent
c7a44456bb
commit
4d8aaea4a9
@ -1,6 +1,6 @@
|
|||||||
export enum AirdropTypeEnum {
|
export enum AirdropTypeEnum {
|
||||||
COMMON = "common",
|
COMMON = "mixed",
|
||||||
SUPPLY = "supply",
|
SUPPLY = "barter",
|
||||||
MEDICAL = "medical",
|
FOOD_MEDICAL = "foodMedical",
|
||||||
WEAPON = "weapon",
|
WEAPON_ARMOR = "weaponArmor",
|
||||||
}
|
}
|
||||||
|
@ -91,16 +91,18 @@ export class AirdropService {
|
|||||||
};
|
};
|
||||||
|
|
||||||
switch (airdropType) {
|
switch (airdropType) {
|
||||||
case AirdropTypeEnum.MEDICAL:
|
case AirdropTypeEnum.FOOD_MEDICAL:
|
||||||
airdropContainer._tpl = ItemTpl.LOOTCONTAINER_AIRDROP_MEDICAL_CRATE;
|
airdropContainer._tpl = ItemTpl.LOOTCONTAINER_AIRDROP_MEDICAL_CRATE;
|
||||||
break;
|
break;
|
||||||
case AirdropTypeEnum.SUPPLY:
|
case AirdropTypeEnum.SUPPLY:
|
||||||
airdropContainer._tpl = ItemTpl.LOOTCONTAINER_AIRDROP_SUPPLY_CRATE;
|
airdropContainer._tpl = ItemTpl.LOOTCONTAINER_AIRDROP_SUPPLY_CRATE;
|
||||||
break;
|
break;
|
||||||
case AirdropTypeEnum.WEAPON:
|
case AirdropTypeEnum.WEAPON_ARMOR:
|
||||||
airdropContainer._tpl = ItemTpl.LOOTCONTAINER_AIRDROP_WEAPON_CRATE;
|
airdropContainer._tpl = ItemTpl.LOOTCONTAINER_AIRDROP_WEAPON_CRATE;
|
||||||
break;
|
break;
|
||||||
case AirdropTypeEnum.COMMON:
|
case AirdropTypeEnum.COMMON:
|
||||||
|
airdropContainer._tpl = ItemTpl.LOOTCONTAINER_AIRDROP_COMMON_SUPPLY_CRATE;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
airdropContainer._tpl = ItemTpl.LOOTCONTAINER_AIRDROP_COMMON_SUPPLY_CRATE;
|
airdropContainer._tpl = ItemTpl.LOOTCONTAINER_AIRDROP_COMMON_SUPPLY_CRATE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user