History

Clear the tree when losing entity server

Atlante45 committed 9 years ago

Commit f807dee1 parent 1f04bbe1 file · +2 −0Browse files

Showing the changes to assignment-client/src/scripts/EntityScriptServer.cpp (1 of 1 file). Show all

Unified · Split

assignment-client/src/scripts/EntityScriptServer.cpp+2−0
@@ -303,6 +303,8 @@ void EntityScriptServer::nodeKilled(SharedNodePointer killedNode) { · 302 unmodified lines
303303 }
304304
305305 resetEntitiesScriptEngine();
306+
307+ _entityViewer.clear();
306308 }
307309 }
308310