From 46f787f54356d4bcfcdef993919b53815a14631c Mon Sep 17 00:00:00 2001 From: Not Date: Fri, 13 Oct 2023 21:51:55 +0200 Subject: [PATCH] parse some header values as numbers --- ghost.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghost.lua b/ghost.lua index e24111a..ec98f42 100644 --- a/ghost.lua +++ b/ghost.lua @@ -649,10 +649,10 @@ Index = { map = c:next(), checksum = c:next(), player = c:next(), - time = c:next(), - flags = c:next(), + time = tonumber(c:next()), + flags = tonumber(c:next()), skin = c:next(), - color = c:next() + color = tonumber(c:next()) } end,