mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +00:00
@@ -34,7 +34,13 @@ namespace Content.Client.GameObjects.EntitySystems
|
||||
// Performance: This could be spread over multiple updates, or made parallel.
|
||||
while (_dirtyEntities.Count > 0)
|
||||
{
|
||||
_dirtyEntities.Dequeue().GetComponent<WindowComponent>().UpdateSprite();
|
||||
var entity = _dirtyEntities.Dequeue();
|
||||
if (entity.Deleted)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
entity.GetComponent<WindowComponent>().UpdateSprite();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user