mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
fix on_blocks_tick interval
This commit is contained in:
parent
47d9434a96
commit
cd43d9545a
2 changed files with 3 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ bool Clock::update(float delta) {
|
|||
tickTimer = std::fmod(tickTimer, delay);
|
||||
tickPartsUndone = tickParts - 1;
|
||||
}
|
||||
++tickId;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue