fix(webui): exclude zaw strike pvp variants
All checks were successful
Build / build (pull_request) Successful in 52s
All checks were successful
Build / build (pull_request) Successful in 52s
This commit is contained in:
parent
7e618539fa
commit
c49be3b99e
@ -153,6 +153,8 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
}
|
||||
for (const [uniqueName, item] of Object.entries(ExportWeapons)) {
|
||||
if (item.partType) {
|
||||
if (!item.excludeFromCodex) {
|
||||
// not a pvp variant
|
||||
if (!uniqueName.startsWith("/Lotus/Types/Items/Deimos/")) {
|
||||
res.ModularParts.push({
|
||||
uniqueName,
|
||||
@ -166,6 +168,7 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
name: getString(item.name, lang)
|
||||
});
|
||||
}
|
||||
}
|
||||
} else if (item.totalDamage !== 0) {
|
||||
if (
|
||||
item.productCategory == "LongGuns" ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user