Clear the tree when losing entity server

This commit is contained in:
Atlante45 2017-01-19 17:29:10 -08:00
parent 1f04bbee0a
commit f807dee51e

View file

@ -303,6 +303,8 @@ void EntityScriptServer::nodeKilled(SharedNodePointer killedNode) {
} }
resetEntitiesScriptEngine(); resetEntitiesScriptEngine();
_entityViewer.clear();
} }
} }