summaryrefslogtreecommitdiff
path: root/common/map.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-02-06 12:35:20 +0000
committerubq323 <ubq323@ubq323.website>2023-02-06 12:35:20 +0000
commit911dc535a9930ef5380ecf31fabbd5123461fc3c (patch)
tree19e651f2bf2e5b55410399cc284e4c5c4afa4c69 /common/map.lua
parent820335d1e930e354f300610b653907ed6f70150a (diff)
remove chunk loading debugging prints, add envvar for localness
Diffstat (limited to 'common/map.lua')
-rw-r--r--common/map.lua3
1 files changed, 0 insertions, 3 deletions
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