home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91641af
)
Only count new turns on ticks that change world state.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 25 Oct 2020 03:34:01 +0000
(
04:34
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 25 Oct 2020 03:34:01 +0000
(
04:34
+0100)
new2/plomrogue/game.py
patch
|
blob
|
history
diff --git
a/new2/plomrogue/game.py
b/new2/plomrogue/game.py
index 25f4d809b69b04083abb4bcea83996608920ee42..82e5d181c98d3562f4bcd73b215bd714634b9813 100755
(executable)
--- 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