1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-27 12:48:07 +11:00

Luamin was not happy.

This commit is contained in:
Jane Roxanne 2020-03-19 16:05:49 -05:00
parent e56b0c28c5
commit f1f5958684

View File

@ -59,13 +59,13 @@ local tsar = {
local lname = "" local lname = ""
while lname ~= "TRAILER!!!" do while lname ~= "TRAILER!!!" do
local dat = read(22) local dat = read(22)
local e = read_header(dat) local et = read_header(dat)
e.name = read(e.namesize) et.name = read(et.namesize)
e.pos = seek(e.namesize & 1) et.pos = seek(et.namesize & 1)
seek(e.filesize + (e.filesize & 1)) seek(et.filesize + (et.filesize & 1))
lname = e.name lname = et.name
if lname ~= "TRAILER!!!" then if lname ~= "TRAILER!!!" then
tbl[#tbl+1] = e tbl[#tbl+1] = et
end end
end end
return setmetatable({tbl = tbl, read = read, seek = seek, close = close}, {__index=arc}) return setmetatable({tbl = tbl, read = read, seek = seek, close = close}, {__index=arc})