fire-eggs / CivOne

An open source implementation of Sid Meier's Civilization 1 using C# and .NET.
Creative Commons Zero v1.0 Universal
20 stars 4 forks source link

Loop throught units returns to the busy unit #159

Closed iegik closed 2 years ago

iegik commented 2 years ago

https://github.com/fire-eggs/CivOne/blob/42c6e2b0f146985541767fe1528b7bddfcab39f6/src/Game.cs#L518

Steps to reproduce:

  1. Place on the map at least 3 units
  2. Give an order to first one (it will switch to the next available unit)
  3. Put unit to the waiting mode ('W') (it will switch to the next available unit)
  4. Put next unit to the waiting mode again (it will switch to the busy unit)!!
fire-eggs commented 2 years ago

Fixes integrated from pull request #141