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

chore: fix unnecessary condition

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

代码差异

1 个文件 +1 -1
Modified src/services/inventoryService.ts +1 -1
@@ -963,7 +963,7 @@ export const addStanding = (
963 963 const max = getMaxStanding(syndicateMeta, syndicate.Title ?? 0);
964 964 if (syndicate.Standing + gainedStanding > max) gainedStanding = max - syndicate.Standing;
965 965
966 if (!isMedallion || (isMedallion && syndicateMeta.medallionsCappedByDailyLimit)) {
966 if (!isMedallion || syndicateMeta.medallionsCappedByDailyLimit) {
967 967 if (gainedStanding > getStandingLimit(inventory, syndicateMeta.dailyLimitBin)) {
968 968 gainedStanding = getStandingLimit(inventory, syndicateMeta.dailyLimitBin);
969 969 }