* fix: pause menu on hudVisible=false

* add missing property

* reset controls fix
This commit is contained in:
clasher113 2025-07-14 18:45:47 +03:00 committed by GitHub
parent 6ab48fda93
commit 49727ec026
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 4 deletions

View File

@ -7,7 +7,7 @@ local names = {
"hidden", "draw-group", "picking-item", "surface-replacement", "script-name",
"ui-layout", "inventory-size", "tick-interval", "overlay-texture",
"translucent", "fields", "particles", "icon-type", "icon", "placing-block",
"stack-size", "name", "script-file"
"stack-size", "name", "script-file", "culling"
}
for name, _ in pairs(user_props) do
table.insert(names, name)

View File

@ -168,11 +168,9 @@ void GlobalChunks::decref(Chunk* chunk) {
ekey.pos[1] = chunk->z;
save(chunk);
if (onUnload) {
onUnload(*chunk);
}
chunksMap.erase(ekey.key);
refCounters.erase(found);
}

View File

@ -234,7 +234,7 @@ public:
}
void rebind(const std::string& name, InputType type, int code) {
require(name) = Binding(type, code);
require(name).reset(type, code);
}
auto& getAll() {