fix clear check for missing other entity servers

This commit is contained in:
Stephen Birarda 2017-03-17 13:19:59 -07:00
parent 0a118bd268
commit 96cf6b8c04

View file

@ -343,7 +343,7 @@ void EntityScriptServer::nodeKilled(SharedNodePointer killedNode) {
return true;
});
if (hasAnotherEntityServer) {
if (!hasAnotherEntityServer) {
clear();
}