From: Christian Heller Date: Fri, 20 Dec 2019 02:10:18 +0000 (+0100) Subject: Empty client log before each new turn. X-Git-Url: https://plomlompom.com/repos/error?a=commitdiff_plain;h=8550ed04290fd6690ac73b3fd15412ce19e32b4d;p=plomrogue2-experiments Empty client log before each new turn. --- diff --git a/new/example_client.py b/new/example_client.py index 2796005..bd8bcfd 100755 --- a/new/example_client.py +++ b/new/example_client.py @@ -79,6 +79,7 @@ cmd_TURN_FINISHED.argtypes = 'int:nonneg' def cmd_TURN(game, n): """Set game.turn to n, empty game.things.""" + game.log_text = '' game.turn = n game.things = [] game.pickable_items[:] = []