mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 18:35:04 +02:00
Clear the tree when losing entity server
This commit is contained in:
parent
1f04bbee0a
commit
f807dee51e
1 changed files with 2 additions and 0 deletions
|
@ -303,6 +303,8 @@ void EntityScriptServer::nodeKilled(SharedNodePointer killedNode) {
|
|||
}
|
||||
|
||||
resetEntitiesScriptEngine();
|
||||
|
||||
_entityViewer.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue