Master of Orion

Master of Orion

Unofficial Code Patch Steam Workshop
Ragnaman Aug 20, 2023 @ 6:05am
Fixing Export colony build item
Hello Sol,

Im trying to track down and fix the Export bug (as its not automatically replaced by things in build queue like trade goods are).

If I do manage to fix it, can the change be incorporated into your mod ?

Or perhaps you are working on this for next UCP release ?
< >
Showing 1-2 of 2 comments
Ragnaman Aug 20, 2023 @ 6:18am 
I am still testing it, but I think I have found where the bug lies.

Backend.Settlements.Colony class, Govern() method.

bugged code:
if (this.GetQueueLength() == 0 || this.IsTradingGoods())

fixed code:
if (this.GetQueueLength() == 0 || this.IsTradingGoods() || this.IsExporting())
Last edited by Ragnaman; Aug 20, 2023 @ 8:29am
Ragnaman Aug 20, 2023 @ 6:29am 
Just tested it and this fix works :approve:

tests done:
build queue that is done with export as final step - still works
build queue that is not done with export as current item - FIXED, queue automatically switches to build item and then back to export.
using the auto build queue button from colony view - flips correctly from export to buildable item if its in build queue list.
Last edited by Ragnaman; Aug 20, 2023 @ 6:38am
< >
Showing 1-2 of 2 comments
Per page: 1530 50