From f55c9f415a081a175e48b51db894f23e59ce47a2 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sun, 18 Jun 2023 22:28:37 +0100 Subject: fix line lengths --- common/chunk.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common/chunk.lua') diff --git a/common/chunk.lua b/common/chunk.lua index 563723e..51c0a6c 100644 --- a/common/chunk.lua +++ b/common/chunk.lua @@ -33,7 +33,10 @@ function Chunk.set_at(self,hoffs,tile) end function Chunk.data_packet(self) - return json.encode{t="chunk",tiles=rle.encode(self.tiles),u=self.cp.u,v=self.cp.v} + return json.encode{ + t="chunk", tiles=rle.encode(self.tiles), + u=self.cp.u, v=self.cp.v + } end function Chunk.from_packet_data(cls,packet) -- assuming packet has already been json.decoded -- cgit v1.2.3