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

chore: deal with visiting navigation not resyncing inventory (#2340)

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

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

代码差异

7 个文件 +6 -9
Modified src/controllers/api/inventoryController.ts +0 -3
@@ -313,9 +313,6 @@ export const getInventoryResponse = async (
313 313 applyCheatsToInfestedFoundry(inventoryResponse.InfestedFoundry);
314 314 }
315 315
316 // Omitting this field so opening the navigation resyncs the inventory which is more desirable for typical usage.
317 inventoryResponse.LastInventorySync = undefined;
318
319 316 // Set 2FA enabled so trading post can be used
320 317 inventoryResponse.HWIDProtectEnabled = true;
321 318
Modified static/webui/translations/de.js +1 -1
@@ -1,6 +1,6 @@
1 1 // German translation by Animan8000
2 2 dict = {
3 general_inventoryUpdateNote: `Hinweis: Änderungen, die hier vorgenommen werden, werden erst im Spiel angewendet, sobald das Inventar synchronisiert wird. Die Sternenkarte zu besuchen, sollte der einfachste Weg sein, dies auszulösen.`,
3 general_inventoryUpdateNote: `[UNTRANSLATED] Note: To see changes in-game, you need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging.`,
4 4 general_addButton: `Hinzufügen`,
5 5 general_bulkActions: `Massenaktionen`,
6 6 code_loginFail: `[UNTRANSLATED] Login failed. Double-check the email and password.`,
Modified static/webui/translations/en.js +1 -1
@@ -1,5 +1,5 @@
1 1 dict = {
2 general_inventoryUpdateNote: `Note: Changes made here will only be applied in-game when the game syncs the inventory. Visiting the navigation should be the easiest way to trigger that.`,
2 general_inventoryUpdateNote: `Note: To see changes in-game, you need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging.`,
3 3 general_addButton: `Add`,
4 4 general_bulkActions: `Bulk Actions`,
5 5 code_loginFail: `Login failed. Double-check the email and password.`,
Modified static/webui/translations/es.js +1 -1
@@ -1,6 +1,6 @@
1 1 // Spanish translation by hxedcl
2 2 dict = {
3 general_inventoryUpdateNote: `Nota: Los cambios realizados aquí se reflejarán en el juego cuando este sincronice el inventario. Usar la navegación debería ser la forma más sencilla de activar esto.`,
3 general_inventoryUpdateNote: `[UNTRANSLATED] Note: To see changes in-game, you need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging.`,
4 4 general_addButton: `Agregar`,
5 5 general_bulkActions: `Acciones masivas`,
6 6 code_loginFail: `Error al iniciar sesión. Verifica el correo electrónico y la contraseña.`,
Modified static/webui/translations/fr.js +1 -1
@@ -1,6 +1,6 @@
1 1 // French translation by Vitruvio
2 2 dict = {
3 general_inventoryUpdateNote: `Note : Les changements effectués ici seront appliqués lors de la syncrhonisation. Visiter la navigation appliquera les changements apportés à l'inventaire.`,
3 general_inventoryUpdateNote: `[UNTRANSLATED] Note: To see changes in-game, you need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging.`,
4 4 general_addButton: `Ajouter`,
5 5 general_bulkActions: `Action groupée`,
6 6 code_loginFail: `Connexion échouée. Vérifiez le mot de passe.`,
Modified static/webui/translations/ru.js +1 -1
@@ -1,6 +1,6 @@
1 1 // Russian translation by AMelonInsideLemon
2 2 dict = {
3 general_inventoryUpdateNote: `Примечание: изменения, внесенные здесь, отобразятся в игре только после повторной загрузки вашего инвентаря. Посещение навигации — самый простой способ этого добиться.`,
3 general_inventoryUpdateNote: `[UNTRANSLATED] Note: To see changes in-game, you need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging.`,
4 4 general_addButton: `Добавить`,
5 5 general_bulkActions: `Массовые действия`,
6 6 code_loginFail: `[UNTRANSLATED] Login failed. Double-check the email and password.`,
Modified static/webui/translations/zh.js +1 -1
@@ -1,6 +1,6 @@
1 1 // Chinese translation by meb154, bishan178 & Corvus
2 2 dict = {
3 general_inventoryUpdateNote: `注意:此处所做的更改只有在游戏同步仓库后才会生效。您可以通过访问星图来触发仓库更新。`,
3 general_inventoryUpdateNote: `[UNTRANSLATED] Note: To see changes in-game, you need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging.`,
4 4 general_addButton: `添加`,
5 5 general_bulkActions: `批量操作`,
6 6 code_loginFail: `登录失败。请检查邮箱和密码。`,