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: ignore empty mission tag in missionInventoryUpdate (#1015)

Fixes #1013 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1015 Co-authored-by: Sainan <sainan@calamity.inc> Co-committed-by: Sainan <sainan@calamity.inc>

b5b08824
Sainan <sainan@calamity.inc>
提交于

代码差异

1 个文件 +4 -1
Modified src/services/missionInventoryUpdateService.ts +4 -1
@@ -263,7 +263,10 @@ export const addMissionRewards = async (
263 263 }
264 264 }
265 265
266 if (missions) {
266 if (
267 missions &&
268 missions.Tag != "" // #1013
269 ) {
267 270 const node = getNode(missions.Tag);
268 271
269 272 //node based credit rewards for mission completion