X-Git-Url: https://plomlompom.com/repos/?p=plomrogue2-experiments;a=blobdiff_plain;f=client-curses.py;h=28d912d00b0c6fe9f183835cf3daf22af186507e;hp=e942dd8fbc349b0e6571e97cad9995c8ba87327f;hb=8c9d8857d363d9e3faf11eac9df2f96abab359aa;hpb=362ee8651a250d99377806c33451ceb5b027c606 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]