BUG - CityView.lua/InfoTooltipInclude.lua

Zimdictive

Chieftain
Joined
Mar 18, 2013
Messages
47
Location
Cambridge, UK
Whoward69 found the following while kindly trying to diagnose a bug I was experiencing with his DLL and GEM, and I thought I'd post it here for reference:

BUT there is a bug in CivUP/GEM in the CityView.lua/InfoTooltipInclude.lua code, in that the former uses YieldTypes.YIELD_HAPPINESS_CITY and YieldTypes.YIELD_HAPPINESS_NATIONAL but there are no corresponding entries in the yieldHelp table for these keys, so the lua faults with a runtime error of "bad argument #1 to 'ConvertTextKey' (string expected, got nil)"
 
Back
Top Bottom