freeciv / freeciv-web

Freeciv-web is an Open Source strategy game implemented in HTML5 and WebGL, which can be played online against other players, or in single player mode against AI opponents.
Other
2k stars 329 forks source link

Autoselling Buildings (Barracks II) after Tech Transfer doesn't give you gold immediately #864

Open brian-lim-42 opened 2 weeks ago

brian-lim-42 commented 2 weeks ago

Bug encountered in Unrated 40, turn 108

Steps to Reproduce

  1. Build Barracks II
  2. Get Combustion and Miniaturization and Nationalism from an ally through tech transfer
  3. Research Combustion either directly or accidently (don't know how this happened, I researched miniaturization through tech transfer)
  4. Barracks II autosells
  5. Observe that the gold amount doesn't go up
  6. After you spend some small amount of gold (say 20) the gold amount correctly goes up (minus the spent amount)