fix another related issue lol
parent
0873761bc7
commit
44e01fbfc1
|
@ -218,11 +218,12 @@ namespace Encompass
|
||||||
{
|
{
|
||||||
foreach (var componentID in componentsMarkedForRemoval)
|
foreach (var componentID in componentsMarkedForRemoval)
|
||||||
{
|
{
|
||||||
if (componentIDsMarkedForWrite.Contains(componentID) && !IDToComponent.ContainsKey(componentID))
|
if (componentIDsMarkedForWrite.Contains(componentID))
|
||||||
{
|
{
|
||||||
componentIDsMarkedForWrite.Remove(componentID);
|
componentIDsMarkedForWrite.Remove(componentID);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
if (IDToComponent.ContainsKey(componentID))
|
||||||
{
|
{
|
||||||
Remove(componentID);
|
Remove(componentID);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue