mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add lua function block/unbloc bindings
This commit is contained in:
parent
e762cf9b23
commit
63304712f3
3 changed files with 26 additions and 0 deletions
|
|
@ -78,6 +78,9 @@ void Events::pollEvents() {
|
|||
|
||||
for (auto& entry : bindings) {
|
||||
auto& binding = entry.second;
|
||||
if (!binding.enable) {
|
||||
continue;
|
||||
}
|
||||
binding.justChange = false;
|
||||
|
||||
bool newstate = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue