Fixes an issue where entities wouldn't be removed when a build got a
"Failure" score.
This commit is contained in:
Sam 2016-06-01 15:41:02 +01:00
parent 4c4363ffaa
commit b08c2c9467

View File

@ -429,6 +429,10 @@ public class Build extends SoloGame
} }
else if (!hasDecentVote) else if (!hasDecentVote)
{ {
for(Entity entity : _viewData.Entities)
{
entity.remove();
}
Manager.GetExplosion().BlockExplosion(_viewData.Blocks, _viewData.Spawn, false); Manager.GetExplosion().BlockExplosion(_viewData.Blocks, _viewData.Spawn, false);
//Effects //Effects