Skip to content

Commit

Permalink
Merge pull request #91 from seoushi/master
Browse files Browse the repository at this point in the history
Partial fixed for issue #90
  • Loading branch information
thelinuxlich committed Aug 28, 2015
2 parents 34d117e + de07c65 commit c244c86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Artemis_XNA_INDEPENDENT/EntityWorld.cs
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ public void Update(long deltaTicks)
Entity entity = this.refreshed.Get(index);
this.EntityManager.Refresh(entity);
entity.RefreshingState = false;
this.refreshed.Remove(index);
}
#else
foreach (Entity entity in this.refreshed)
Expand All @@ -394,8 +395,8 @@ public void Update(long deltaTicks)
entity.RefreshingState = false;
}

#endif
this.refreshed.Clear();
#endif
}

this.SystemManager.Update();
Expand Down

0 comments on commit c244c86

Please sign in to comment.