mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 11:22:24 +02:00
Call setFinished() if script engine hasn't started up
This commit is contained in:
parent
5a92032bdd
commit
6f61642cb0
1 changed files with 2 additions and 0 deletions
|
@ -857,5 +857,7 @@ void Agent::aboutToFinish() {
|
||||||
void Agent::stop() {
|
void Agent::stop() {
|
||||||
if (_scriptEngine) {
|
if (_scriptEngine) {
|
||||||
_scriptEngine->stop();
|
_scriptEngine->stop();
|
||||||
|
} else {
|
||||||
|
setFinished(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue