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: set correct metadata for triad kiss emails (#3179)

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

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

代码差异

1 个文件 +4 -1
Modified src/services/inventoryService.ts +4 -1
@@ -1990,7 +1990,10 @@ export const addEmailItem = async (
1990 1990 const emailItem = inventory.EmailItems.find(x => x.ItemType == typeName);
1991 1991 if (!emailItem || !meta.sendOnlyOnce) {
1992 1992 const msg: IMessageCreationTemplate = convertInboxMessage(meta.message);
1993 if (msg.cinematic == "/Lotus/Levels/1999/PlayerHomeBalconyCinematics.level") {
1993 if (
1994 msg.cinematic == "/Lotus/Levels/1999/PlayerHomeBalconyCinematics.level" ||
1995 msg.cinematic == "/Lotus/Levels/EntratiLab/TriadRomanceCinematics.level"
1996 ) {
1994 1997 msg.customData = JSON.stringify({
1995 1998 Tag: msg.customData + "KissCin",
1996 1999 CinLoadout: {