mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Update ScriptEngin::stop to only take effect when not finished
This commit is contained in:
parent
f8e4ff8072
commit
2e61ef01da
1 changed files with 4 additions and 2 deletions
|
@ -647,8 +647,10 @@ void ScriptEngine::stopAllTimers() {
|
|||
}
|
||||
|
||||
void ScriptEngine::stop() {
|
||||
_isFinished = true;
|
||||
emit runningStateChanged();
|
||||
if (!_isFinished) {
|
||||
_isFinished = true;
|
||||
emit runningStateChanged();
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptEngine::timerFired() {
|
||||
|
|
Loading…
Reference in a new issue