FernAcular / StrongholdSiege

1 stars 0 forks source link

Color does not change back to neutral with 0 units in strongholds #56

Open QUzair opened 6 years ago

QUzair commented 6 years ago

When you attack a stronghold of size 25 with 25 of your own units, magnitude of stronghold becomes 0 but color stays as previous owners' color. Should change to normal.

Fix: Check if magnitude is zero during SetMagnitude() and change to neutral color