From 8c9d8857d363d9e3faf11eac9df2f96abab359aa Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Fri, 25 Jan 2019 02:15:46 +0100
Subject: [PATCH] Fix map scrolling bug in client.

---
 client-curses.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client-curses.py b/client-curses.py
index e942dd8..28d912d 100755
--- a/client-curses.py
+++ b/client-curses.py
@@ -13,7 +13,7 @@ class Map(game_common.Map):
         map_height = len(map_lines)
         if map_height > view_height and center_y > view_height / 2:
             if center_y > map_height - view_height / 2:
-                map_lines = map_lines[map_height - view_height:]
+                map_lines[:] = map_lines[map_height - view_height:]
             else:
                 start = center_y - int(view_height / 2)
                 map_lines[:] = map_lines[start:start + view_height]
-- 
2.30.2