Index: columns/code.lua
===================================================================
RCS file: /cvsroot/fillets/fillets_data/script/columns/code.lua,v
retrieving revision 1.1
diff -u -r1.1 code.lua
--- columns/code.lua 4 Jul 2004 15:03:14 -0000 1.1
+++ columns/code.lua 31 Oct 2006 18:45:49 -0000
@@ -203,7 +203,7 @@
rada1beg.faze = 0
end,
}
- for index, advice in advices1 do
+ for index, advice in pairs(advices1) do
advice:updateAnim()
end
end
@@ -312,7 +312,7 @@
rada2beg.faze = 0
end,
}
- for index, advice in advices2 do
+ for index, advice in pairs(advices2) do
advice:updateAnim()
end
end
Index: gems/code.lua
===================================================================
RCS file: /cvsroot/fillets/fillets_data/script/gems/code.lua,v
retrieving revision 1.2
diff -u -r1.2 code.lua
--- gems/code.lua 18 Aug 2004 14:50:46 -0000 1.2
+++ gems/code.lua 31 Oct 2006 18:45:50 -0000
@@ -85,7 +85,7 @@
end
return function()
- for key, gem in gems do
+ for key, gem in pairs(gems) do
gem.glob = gem.glob + 1
if isIn(gem.glob, {1, 2, 3}) then
gem.afaze = gem.afaze + 1
Index: share/Pickle.lua
===================================================================
RCS file: /cvsroot/fillets/fillets_data/script/share/Pickle.lua,v
retrieving revision 1.1
diff -u -r1.1 Pickle.lua
--- share/Pickle.lua 26 Jun 2004 00:22:12 -0000 1.1
+++ share/Pickle.lua 31 Oct 2006 18:45:50 -0000
@@ -78,7 +78,7 @@
end
for tnum = 1, table.getn(tables) do
local t = tables[tnum]
- local tcopy = {}; for i, v in t do tcopy[i] = v end
+ local tcopy = {}; for i, v in pairs(t) do tcopy[i] = v end
for i, v in pairs(tcopy) do
local ni, nv
if type(i) == "table" then ni = tables[i[1]] else ni = i end