I'm trying to get the lua from this thread: http://forums.civfanatics.com/showthread.php?t=498519 to work, but am not sure what I'm doing wrong.
In the log file it says:
Runtime Error: Spain/ConvertOnCapture.lua:7: attempt to index global 'player' (a nil value)
I'm not sure what this means and cannot find any information on the wiki.
Once this is working, I'd like to change it over to convert when a new city is founded instead, which I'd appreciate advice towards.
I'd appreciate any help at all.
Spoiler:
In the log file it says:
Runtime Error: Spain/ConvertOnCapture.lua:7: attempt to index global 'player' (a nil value)
I'm not sure what this means and cannot find any information on the wiki.
Once this is working, I'd like to change it over to convert when a new city is founded instead, which I'd appreciate advice towards.
I'd appreciate any help at all.