From: Christian Heller Date: Sat, 7 Mar 2015 13:21:46 +0000 (+0100) Subject: Server/py: Fix memdepthmapping bug. X-Git-Tag: tce~385 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7Btodo.comment%7D%7D?a=commitdiff_plain;h=566bdd3865b368d85c31ac765aa9ff35e0129534;p=plomrogue Server/py: Fix memdepthmapping bug. --- 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"]