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(webui): remove "<ARCHWING> " from item name (#1414)

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

7d5ea680
AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
提交于

代码差异

1 个文件 +3 -0
Modified static/webui/script.js +3 -0
@@ -252,6 +252,9 @@ function fetchItemList() {
252 252 uniqueLevelCaps = items;
253 253 } else {
254 254 items.forEach(item => {
255 if (item.name.includes("<ARCHWING> ")) {
256 item.name = item.name.replace("<ARCHWING> ", "");
257 }
255 258 if ("badReason" in item) {
256 259 if (item.badReason == "starter") {
257 260 item.name = loc("code_starter").split("|MOD|").join(item.name);