mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 07:15:30 +02:00
Emit finished in Agent::aboutToFinish() if script execution hasn't started yet
This commit is contained in:
parent
2c629e2ec8
commit
a305a6a534
1 changed files with 2 additions and 0 deletions
|
@ -828,6 +828,8 @@ void Agent::aboutToFinish() {
|
|||
|
||||
if (_scriptEngine) {
|
||||
_scriptEngine->stop();
|
||||
} else {
|
||||
emit finished();
|
||||
}
|
||||
|
||||
// our entity tree is going to go away so tell that to the EntityScriptingInterface
|
||||
|
|
Loading…
Reference in a new issue