|
@@ -235,7 +235,7 @@ namespace bs
|
|
|
bool anyDestroyed = false;
|
|
bool anyDestroyed = false;
|
|
|
for (auto& SO : sceneObjects)
|
|
for (auto& SO : sceneObjects)
|
|
|
{
|
|
{
|
|
|
- if (!SO.isDestroyed(true))
|
|
|
|
|
|
|
+ if (SO.isDestroyed(true))
|
|
|
{
|
|
{
|
|
|
anyDestroyed = true;
|
|
anyDestroyed = true;
|
|
|
break;
|
|
break;
|