Description:
Fix issue with area generation.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r392:7e1881d69239 -

@@ -194,7 +194,7
194 194 - Ingame Menu @done(2021-06-22)
195 195 - Main Menu
196 196 Simulation:
197 - Expired areas can't be reused.
197 - Expired areas can't be reused. @done(2021-08-07)
198 198 Misc:
199 199 - Exits are messy (does Encompass add threading?)
200 200 [xcb] Unknown sequence number while appending request
@@ -123,10 +123,7
123 123 organization_type = GetComponent<OrganizationTypeComponent>(contractOrganizations[organization_index]).type;
124 124 }
125 125
126 foreach (var (entity, status) in ReadEntities<AreaComponent>().SelectWhereF((e) => (e, GetComponent<ContractStatusComponent>(e)),
127 (e) => ((e.Item2.status != ContractStatus.Broken) && (e.Item2.status != ContractStatus.Expired)))
128 )
129 {
126 foreach (var (entity, status) in ReadEntities<AreaComponent>().SelectWhereF((e) => (e, GetComponent<ContractStatusComponent>(e)), (e) => ((e.Item2.status != ContractStatus.Broken) && (e.Item2.status != ContractStatus.Rejected) && (e.Item2.status != ContractStatus.Expired)))) {
130 127 var entitySquares = GetComponent<AreaComponent>(entity).squares;
131 128 occupied.AddRange(entitySquares);
132 129 }
You need to be logged in to leave comments. Login now