mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
init the accumulator for script elapsed time
This commit is contained in:
parent
ab6ccac631
commit
6cae62f584
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ void ScriptEngine::run() {
|
|||
|
||||
_lastUpdate = usecTimestampNow();
|
||||
|
||||
std::chrono::microseconds totalUpdates;
|
||||
std::chrono::microseconds totalUpdates(0);
|
||||
|
||||
// TODO: Integrate this with signals/slots instead of reimplementing throttling for ScriptEngine
|
||||
while (!_isFinished) {
|
||||
|
|
Loading…
Reference in a new issue