[0.805][Bug] Pioneer builds in wrong location after merge

When a pioneer merges into an army stack, when a city is built later by that pioneer the city is built at the location where the pioneer merged.

Steps to reproduce.

Build pioneer
Find a valid build location
Move pioneer off that swuare
Move another unit, leader or soverign to the build location
Merge pioneer onto unit,leader or soverign
Move away
Select pioneer in stack issuer build command
City is built wher pioneer merged with other unit,leader or soverign.

1,595 views 2 replies
Reply #1 Top

This has been fixed internally along with other general clean-up of behavior when performing an action with units in an army, thanks for the helpful steps to reproduce.

Reply #2 Top

Good to know you've tracked the bug down and squished it :grin:

 

Out of a nerdy interest was it being caused by the location call not delegating up to the units current container?