Skip to content

Removing the shortcut key twice caused the localized language of the settings entry to be lost #83608

@eternamaze

Description

@eternamaze

Describe the bug

Steps to reproduce:

  1. In the game, for example, after creating a new world and entering the default shelter scene.
  2. Press the ? key to open the key binding settings.
  3. For a specific key binding entry, press - to remove it.
  4. Repeat step 3 once, using the - key to remove it again.

Expected result:

The key binding entry should retain its localized language and display as unbound.

Actual result:

The key binding entry reverts to English; the localized language is lost.

Note:

This issue only occurs after removing the key binding twice; removing it once does not trigger this issue.

Attach save file

N/A
It can be easily triggered by installing it on a non-English system, without the need for additional save files.

Steps to reproduce

  1. In the game, for example, after creating a new world and entering the default shelter scene.
  2. Press the ? key to open the key binding settings.
  3. For a specific key binding entry, press - to remove it.
  4. Repeat step 3 once, using the - key to remove it again.

Expected behavior

The key binding entry should retain its localized language and display as unbound.

Screenshots

No response

Versions and configuration

  • OS: Linux
    • OS Version: Distributor ID: Debian; Description: Debian GNU/Linux forky/sid; Release: n/a; Codename: forky;
  • Game Version: 0.H [64-bit]
  • Graphics Version: Tiles
  • Game Language: 系统语言 []
  • Mods loaded: [
    浩劫余生 [dda],
    NPC无基本需求 [no_npc_food],
    NPC不受空间风暴影响 [personal_portal_storms],
    减缓真菌增殖 [no_fungal_growth]
    ]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    (S1 - Need confirmation)Report waiting on confirmation of reproducibility

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions