From 2595413918ab08fe7aa5b0772abf2420dc89d175 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 25 Oct 2020 04:34:01 +0100 Subject: [PATCH 1/1] Only count new turns on ticks that change world state. --- new2/plomrogue/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new2/plomrogue/game.py b/new2/plomrogue/game.py index 25f4d80..82e5d18 100755 --- a/new2/plomrogue/game.py +++ b/new2/plomrogue/game.py @@ -87,8 +87,8 @@ class Game(GameBase): for connection_id in [c_id for c_id in self.sessions if self.sessions[c_id] == t.id_]: self.io.send('GAME_ERROR ' + quote(str(e)), connection_id) - self.turn += 1 if self.changed: + self.turn += 1 self.send_gamestate() self.changed = False -- 2.30.2