fix another related issue lol

pull/5/head
Evan Hemsley 2019-08-22 20:10:41 -07:00
parent 0873761bc7
commit 44e01fbfc1
1 changed files with 3 additions and 2 deletions

View File

@ -218,11 +218,12 @@ namespace Encompass
{
foreach (var componentID in componentsMarkedForRemoval)
{
if (componentIDsMarkedForWrite.Contains(componentID) && !IDToComponent.ContainsKey(componentID))
if (componentIDsMarkedForWrite.Contains(componentID))
{
componentIDsMarkedForWrite.Remove(componentID);
}
else
if (IDToComponent.ContainsKey(componentID))
{
Remove(componentID);
}