mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
bindings bug fix 2
This commit is contained in:
parent
7763157cdc
commit
4a4e9e8330
1 changed files with 1 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ void Events::pollEvents() {
|
||||||
for (auto& entry : bindings) {
|
for (auto& entry : bindings) {
|
||||||
auto& binding = entry.second;
|
auto& binding = entry.second;
|
||||||
if (!binding.enable) {
|
if (!binding.enable) {
|
||||||
|
binding.state = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
binding.justChange = false;
|
binding.justChange = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue