From 566bdd3865b368d85c31ac765aa9ff35e0129534 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 7 Mar 2015 14:21:46 +0100 Subject: [PATCH] Server/py: Fix memdepthmapping bug. --- plomrogue-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plomrogue-server.py b/plomrogue-server.py index a3c8f8f..a44f751 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -478,7 +478,7 @@ def update_map_memory(t): t["T_MEMMAP"][pos] = world_db["MAP"][pos] continue if ord('0') <= t["T_MEMDEPTHMAP"][pos] \ - and ord('9') >= t["T_MEMDEPTHMAP"][pos] \ + and ord('9') > t["T_MEMDEPTHMAP"][pos] \ and not rand.next() % (2 ** (t["T_MEMDEPTHMAP"][pos] - 48)): t["T_MEMDEPTHMAP"][pos] += 1 for mt in [mt for mt in t["T_MEMTHING"] -- 2.30.2