From fff87e8ebbe71f11f3a865dbaab80c5fca848122 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 4 Dec 2021 14:12:01 +0100 Subject: [PATCH] fix: fix gametime --- birb/modules/gamesystem/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/birb/modules/gamesystem/init.lua b/birb/modules/gamesystem/init.lua index c0ea266..abf6431 100644 --- a/birb/modules/gamesystem/init.lua +++ b/birb/modules/gamesystem/init.lua @@ -27,6 +27,7 @@ function GameSystem:new(varToSerialize, slotNumber) self.slot = -1 self.slotNumber = slotNumber or 1 self.version = core.conf.gameversion or "N/A" + self.gametime = 0 varToSerialize = varToSerialize or {} GameSystem.super.new(self, varToSerialize) end