- Code: Select all
WARNING: Error running OnFrame script in CScriptObject at 26ea7fc0: ...\faforever\gamedata\lua.nx2\lua\ui\game\unitview.lua(466): attempt to perform arithmetic on local `ShieldMaxHealth' (a nil value)
stack traceback:
...\faforever\gamedata\lua.nx2\lua\ui\game\unitview.lua(466): in function <...\faforever\gamedata\lua.nx2\lua\ui\game\unitview.lua:180>
...\faforever\gamedata\lua.nx2\lua\ui\game\unitview.lua(597): in function <...\faforever\gamedata\lua.nx2\lua\ui\game\unitview.lua:594>
...\faforever\gamedata\lua.nx2\lua\ui\game\unitview.lua(910): in function `UpdateWindow'
...\faforever\gamedata\lua.nx2\lua\ui\game\unitview.lua(879): in function <...\faforever\gamedata\lua.nx2\lua\ui\game\unitview.lua:841
ACU Script - Shield Ench starts at Line 344
http://pastebin.com/RaAEFJxm
ACU BP - Shield Info at 552
http://pastebin.com/mLmEuQGv
Any idea why this happens? The Ench seems to work fine, but when I mouse over the ACU when this upgrade is used/on, the UI throws up errors and doesnt work.