Help with city UI glitch

pineappledan

Deity
Joined
Aug 9, 2017
Messages
10,123
Location
Alberta, Canada
Hello,

I have run into an issue with a lua code I wrote that trigger on conquest.

when CityCaptureComplete is triggered, the city is immediately given away / converted into a city state. This part of the code works perfectly, the problem is that all your other cities lose their build queue after this. Everything you put in the queue still gets built, but the list of things to build disappears, so you can’t add new units/buildings/projects to the queue. Obviously this only affects human players.

If I save and reload, the city queue comes back and you can select production for the city again, so it’s just that this UI element fails to load after a city is given away. So I need some way to “refresh” the city Screen UI, after a city is captured.
 
We'd need the actual mod - see my sig for how to attach it
 
It’s ithobaal’s Phoenicia, link in my signature

it requires Vox populi to work.
 
it requires Vox populi to work.

Then you're best off to post in the CPP/VP sub-forum, as it's almost certainly an interaction with how VP has modded the UI and/or been integrated with EUI
 
Top Bottom