From ef7848921174412d68e70190eb58b9ce1687ff12 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 13 Feb 2023 16:36:09 +0000 Subject: run length encoding for chunk data, more reasonable player speeds, controls help menu --- client/util.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'client/util.lua') diff --git a/client/util.lua b/client/util.lua index 1d9b753..f9ec088 100644 --- a/client/util.lua +++ b/client/util.lua @@ -2,6 +2,7 @@ local font = love.graphics.getFont() local text = love.graphics.newText(font) local function print_good(lines,x,y) + if type(lines) ~= "table" then lines = {lines} end for _,line in ipairs(lines) do text:set(line) local w,h = text:getDimensions() -- cgit v1.2.3