mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
bindings bug fix
If binding was blocked in one world, it stayed being blocked in other.
This commit is contained in:
parent
63304712f3
commit
7763157cdc
3 changed files with 10 additions and 0 deletions
|
|
@ -231,3 +231,10 @@ void Events::loadBindings(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Events::enableBindings() {
|
||||
for (auto& entry : bindings) {
|
||||
auto& binding = entry.second;
|
||||
binding.enable = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue