modem.lua:47: index expected, got string
lifewcody opened this issue · 1 comments
lifewcody commented
Line 47: }
Code block:
if _G.modems[rs.getSides()[a]] == nil then
_G.modems[rs.getSides()[a]] = {
["TX"] = 0,
["RX"] = 0,
}
end
I think this has to do with loading the modem cache back into the system.
Steps to reproduce:
- Start core_router.lua
- Reboot CC computer
- Start core_router.lua again
lifewcody commented
Asking the real professionals haha
http://www.computercraft.info/forums2/index.php?/topic/28527-disappearing-variable-in-tale/