Closed pineappledan closed 3 years ago
@RecursiveVision I think you changed this?
@LoneGazebo We both did.
Problem is that the LUA code in acquireCity() fires after the city has changed hands and numtimesowned has been incremented.
@pineappledan You can use the new GetNumTimesOwned() function I added and check for > 1
Or perhaps we should just have isEverOwned return > 1? Misleading, but...
Yeah just use GetNumTimesOwned
1. Mod version (X.Y.Z, e.g. 1.0.0): 1.0.3
2. Mod list (if using Vox Populi only, leave blank): VP, Goths for VP
3. Error description: City:IsEverOwned() not working Everything fails the check if you try to see if you have ever captured a city before. Probably has something to do with @inkyant 's city capture logic changes
4. Steps to reproduce (optional): Capture city
It gets right up to the last print statement, but the Golden Age doesn't start in the code below. Everything works until that final check. This was all working last VP version; I haven't changed anything.