Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
The last selected/viewed unit should be remembered for each player tab. This is useful for when wanting to materialize a unit and then canceling in order to move Dark Priest to a better location in order to try again.
Clicking an avatar or right clicking a unit should keep their current behavior, focusing on that specific unit.
I've figured out more or less what changes I need to make to remember viewed units. However, I'm running into an issue right now, because I don't have a global variable to memorize/keep track of the creatureType, everytime I call showCreature (by pressing r or the godlet printer) it will randomize. Do you have any suggestions?