archibalduk / Eastside-Hockey-Manager-Editor

A database and saved game editor for Eastside Hockey Manager. Visit https://www.ehmtheblueline.com/editor for more details.
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Clean up players with no primary position #12

Closed archibalduk closed 2 years ago

archibalduk commented 2 years ago

For the "Sync player role from position" mass edit can we also have it clean up players in an error state that have zero primary position set but have a Role set?

Example:

0 in every position but has a role of Centre -> set position to Center (as if I were to push the 'Set primary position' button)

For Wingers or Defenseman the logic I would use to set primary position would be based on if Shoots/Catches is set (Left or Right). Left = LW/LD Right = RW/RD.

This would help clean up a lot of placeholder players and ensure the game doesn't do anything wacky with them.

https://www.ehmtheblueline.com/forums/viewtopic.php?p=244819#p244819

archibalduk commented 2 years ago

Added for version 1.1.7