mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 11:29:00 +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() {
|
||||
if (_scriptEngine) {
|
||||
_scriptEngine->stop();
|
||||
} else {
|
||||
setFinished(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue