Menu

#139 Factory production lags one turn behind

closed-fixed
Aeglos
None
4
2011-05-03
2011-05-02
Aeglos
No

Due to the Star object API changes on SVN revision 504 and subsequent refactoring, the difference between Stars! and Nova turn order has greatly affected factory production.

Relevant event order is as follows:
Nova: Update Pop, Update Resources&Mining, Production
Stars!: Mining, Production, Update Pop, Update Resources

Thus currently in Nova resources from factories produced lag one turn behind. (i.e. if a factory is built on turn 1, it will be finished in turn 2 but it's resources will only be available from turn 3).

Discussion

  • Aeglos

    Aeglos - 2011-05-03
    • assigned_to: nobody --> aeglos
    • status: open --> closed-duplicate
     
  • Aeglos

    Aeglos - 2011-05-03

    Fixed in revision 507 by splitting Star Update method into population, minerals and resource update methods, and calling them in proper order in ProcessTurn

     
  • Aeglos

    Aeglos - 2011-05-03
    • status: closed-duplicate --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB