From f6a542cec9e972c780eba7ed59ba1c2dc913e06f Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 7 Mar 2015 04:34:19 +0100 Subject: [PATCH] Server/py: Fix map generation bug. --- plomrogue-server.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2