Suggestion

Role Sims, homeless, service Sims, oh my. Something tells me we're not in Sunset Valley anymore.
Post Reply
Gwenhwivar
Reactions:
Posts: 1
Joined: February 8th, 2016, 6:00 pm

Suggestion

Post by Gwenhwivar » February 9th, 2016, 5:15 am

I think it would be good for stability and compatibility to modify the SimulateRoles method of RoleManagerTaskEx so that it iterates over local list of roles instead of iterating directly over the private dictionary values as this is done in the original Simulate method of RoleManagerTask.
The dictionary may be changed at any time while iterating over its values and break the iterating process.