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

SpaceNinjaServer

A simple server for a small space ninja game

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

XFEstudio/SpaceNinjaServer

fix: universalPolarityEverywhere not affecting all plexus slots (#1589)

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

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

代码差异

1 个文件 +2 -1
Modified src/controllers/api/inventoryController.ts +2 -1
@@ -202,7 +202,8 @@ export const getInventoryResponse = async (
202 202
203 203 if (config.universalPolarityEverywhere) {
204 204 const Polarity: IPolarity[] = [];
205 for (let i = 0; i != 12; ++i) {
205 // 12 is needed for necramechs. 14 is needed for plexus/crewshipharness.
206 for (let i = 0; i != 14; ++i) {
206 207 Polarity.push({
207 208 Slot: i,
208 209 Value: ArtifactPolarity.Any