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(webui): refresh inventory after changing server cheats (#1331)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1331

0fc13262
Sainan <sainan@calamity.inc>
提交于

代码差异

1 个文件 +3 -0
Modified static/webui/script.js +3 -0
@@ -967,6 +967,9 @@ function doChangeSettings() {
967 967 url: "/custom/config?" + window.authz,
968 968 contentType: "text/plain",
969 969 data: JSON.stringify(json, null, 2)
970 }).then(() => {
971 // A few cheats affect the inventory response which in turn may change what values we need to show
972 updateInventory();
970 973 });
971 974 });
972 975 }