From: Christian Heller Date: Sat, 7 Mar 2015 03:34:19 +0000 (+0100) Subject: Server/py: Fix map generation bug. X-Git-Tag: tce~391 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Bdb.prefix%7D%7D/error?a=commitdiff_plain;h=f6a542cec9e972c780eba7ed59ba1c2dc913e06f;p=plomrogue Server/py: Fix map generation bug. --- diff --git a/plomrogue-server.py b/plomrogue-server.py index e4f9896..de1bd42 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -435,6 +435,7 @@ def remake_map(): return True return False store_seed = rand.seed + rand.seed = world_db["SEED_MAP"] world_db["MAP"] = bytearray(b'~' * (world_db["MAP_LENGTH"] ** 2)) length = world_db["MAP_LENGTH"] add_half_width = (not (length % 2)) * int(length / 2)