Replaced getn with #
Getty Ritter
7 years ago
16 | 16 |
t = loadstring('return' .. f:read('*all'))()
|
17 | 17 |
f:close()
|
18 | 18 |
if t.animation then
|
19 | |
t.totalFrames = table.getn(t.animation)
|
| 19 |
t.totalFrames = #t.animation
|
20 | 20 |
t.quads = {}
|
21 | 21 |
for i = 1, t.totalFrames do
|
22 | 22 |
t.quads[i] = love.graphics.newQuad(
|