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

Settler unit not marked when cleaning pollution #150

Closed fire-eggs closed 2 years ago

fire-eggs commented 2 years ago

In UnitExtensions.cs, a Settler unit needs to be marked with 'P' when cleaning pollution.

While there, replace the nested if/else-if with a case statement.

fire-eggs commented 2 years ago

Implemented.