From 911dc535a9930ef5380ecf31fabbd5123461fc3c Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 6 Feb 2023 12:35:20 +0000 Subject: remove chunk loading debugging prints, add envvar for localness --- common/map.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'common') diff --git a/common/map.lua b/common/map.lua index 64d353c..1028982 100644 --- a/common/map.lua +++ b/common/map.lua @@ -23,15 +23,12 @@ function Map._set_chunk(self,cp,value) end function Map.add_chunk(self,the_chunk) local cp = the_chunk.cp - print("adding chunk",cp) self:_set_chunk(cp,the_chunk) end function Map.mark_chunk_loading(self,cp) - print("marking chunk as loading",cp) self:_set_chunk(cp,false) end function Map.remove_chunk(self,cp) - print("removing chunk",cp) if not self.chunks[cp.u] then return end self.chunks[cp.u][cp.v] = nil -- remove list if empty -- cgit v1.2.3