Skip to content

Commit

Permalink
兼容一个不规范的格式
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Oct 28, 2024
1 parent 27a7a80 commit 5eb9598
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/core/slk/frontend_obj.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ local function read_version()
end

local function read_chunk(chunk, type)
if unpack_pos > #unpack_buf then
return
end
local count = unpack 'l'
for i = 1, count do
local obj = read_obj(chunk, type)
Expand Down

0 comments on commit 5eb9598

Please sign in to comment.