Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
multi-line comments
change your for loops to have an "or empty_table" in them (those tables can both be nil)
]]
for _,building in pairs(UICity.labels.Building or empty_table) do
also if you add this to metadata.lua than you won't include that .idea folder
"ignore_files", {
".idea",
},
[mod] Loading Maintenance Rebalance(id xSe45o5, version 1.02-100) items from PackedMods/1952091415/
...
[LUA ERROR] PackedMods/1952091415/Code/Script.lua:28: bad argument #1 to 'pairs' (table expected, got nil)
(28): <>
[C](-1): global procall
G:\SteamLibrary\steamapps\common\Surviving Mars\CommonLua\Core\cthreads.lua(17): global StaticMsg
G:\SteamLibrary\steamapps\common\Surviving Mars\CommonLua\Classes\MsgObj.lua(22): global Msg
Mars/Lua/City.lua(1452): <>
--- end of stack
Not sure what was wrong, but my mod list has little to do with maintenance - few, like cheaper shopping did not altered small factories, and my own - it didn't affected materials upkeep, only electricity.
Do you have a version with extended debug logging? I could give it a try :)
I'm using Choggis mods extensively, could this be the reason?