diff --git a/sonic-radiance.love/game/init.lua b/sonic-radiance.love/game/init.lua index 7e99fc0..c6b28e6 100644 --- a/sonic-radiance.love/game/init.lua +++ b/sonic-radiance.love/game/init.lua @@ -44,12 +44,19 @@ function Game:new() self.skills = Skills(self) self.loot = Loot(self) + self.flags = {} + self.destroyedGizmo = {} + self.variables = {} + self.version = "0.0.0" end function Game:setData(data) local data = data self.gametime = data.gametime + self.destroyedGizmo = data.destroyedGizmo + self.variables = data.variables + self.flags = data.flags self.characters:setData(data.characters) end @@ -57,6 +64,9 @@ function Game:getData() local data = {} data.gametime = self.gametime data.characters = self.characters:getData() + data.flags = self.flags + data.destroyedGizmo = self.destroyedGizmo + data.variables = self.variables return data end