XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

fix: invasion reward message sender name (#2759)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2759 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

703e9007
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +5 -2
Modified src/controllers/api/inventoryController.ts +5 -2
@@ -10,7 +10,7 @@ import { equipmentKeys } from "../../types/inventoryTypes/inventoryTypes.ts";
10 10 import type { IPolarity } from "../../types/inventoryTypes/commonInventoryTypes.ts";
11 11 import { ArtifactPolarity } from "../../types/inventoryTypes/commonInventoryTypes.ts";
12 12 import type { ICountedItem } from "warframe-public-export-plus";
13 import { eFaction, ExportCustoms, ExportFlavour, ExportResources } from "warframe-public-export-plus";
13 import { ExportCustoms, ExportFlavour, ExportResources } from "warframe-public-export-plus";
14 14 import { applyCheatsToInfestedFoundry, handleSubsumeCompletion } from "../../services/infestedFoundryService.ts";
15 15 import {
16 16 addEmailItem,
@@ -220,7 +220,10 @@ export const inventoryController: RequestHandler = async (request, response) =>
220 220 }
221 221 await createMessage(account._id, [
222 222 {
223 sndr: eFaction.find(x => x.tag == factionSidedWith)?.name ?? factionSidedWith, // TOVERIFY
223 sndr:
224 factionSidedWith == "FC_GRINEER"
225 ? "/Lotus/Language/Menu/GrineerInvasionLeader"
226 : "/Lotus/Language/Menu/CorpusInvasionLeader",
224 227 msg: `/Lotus/Language/G1Quests/${factionSidedWith}_InvasionThankyouMessageBody`,
225 228 sub: `/Lotus/Language/G1Quests/${factionSidedWith}_InvasionThankyouMessageSubject`,
226 229 countedAtt: battlePay,