From 5c254cf853e21b64eb3920c6f77cf9d5f9499ddf Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Thu, 14 Jan 2021 21:36:45 -0500 Subject: [PATCH] Square high score data --- tetris/modes/square.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tetris/modes/square.lua b/tetris/modes/square.lua index 11a0125..4b01fc0 100644 --- a/tetris/modes/square.lua +++ b/tetris/modes/square.lua @@ -86,7 +86,11 @@ function SquareMode:drawGrid() end function SquareMode:getHighscoreData() - return {} + return { + lines = self.lines, + squares = self.squares, + frames = self.frames, + } end function SquareMode:getBackground()