From 5029f376a694bcfaf99dd07cb6fb73d8b227dfb2 Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 17 Apr 2017 18:29:20 +0000 Subject: [PATCH] Move initial view of the world --- maps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maps.py b/maps.py index 74c2820..8daefa8 100644 --- a/maps.py +++ b/maps.py @@ -16,12 +16,12 @@ class Map(): self.chunkpreload = 1 # preload chunks in this radius (they will count as "visible") self.chunkunload = 10 # don't unload chunks within this radius self.cursorpadding = 2 - self.worldx = -self.cursorpadding - self.worldy = -self.cursorpadding self.cursorx = 0 self.cursory = 0 self.lastcurx = self.cursorx self.lastcury = self.cursory + self.worldx = -width//3 + self.worldy = -height//3 self.chunkpool = chunkpool self.client = client