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(webui): being unable to add Kuva (#292)

Co-authored-by: Sainan <Sainan@users.noreply.github.com>

b1f92c85
Sainan <sainan@calamity.gg>
提交于

代码差异

1 个文件 +4 -1
Modified static/webui/script.js +4 -1
@@ -102,7 +102,10 @@ window.itemListPromise = new Promise(resolve => {
102 102 items.forEach(item => {
103 103 if (item.uniqueName in data.badItems) {
104 104 item.name += " (Imposter)";
105 } else if (item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/") {
105 } else if (
106 item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/" &&
107 item.uniqueName.substr(0, 18) != "/Lotus/StoreItems/"
108 ) {
106 109 const option = document.createElement("option");
107 110 option.setAttribute("data-key", item.uniqueName);
108 111 option.value = item.name;