home · contact · privacy
Invert weariness metric into energy metric.
[plomrogue2] / plomrogue / game.py
index b394c5d1024c4662c350b5ad6fdfb8f026a2006e..ff035bb8dd28f3ab0b22425b22cb1f3f1e5e312d 100755 (executable)
@@ -277,7 +277,7 @@ class Game(GameBase):
             self.io.send('PLAYERS_HAT_CHARS ' + quote(player.get_cookie_chars()),
                          c_id)
             self.io.send('STATS %s %s' % (player.need_for_toilet,
-                                          player.weariness), c_id)
+                                          player.energy), c_id)
             if player.id_ in player_ids_send_fov:
                 self.io.send('FOV %s' % quote(player.fov_stencil.terrain), c_id)
                 self.io.send('MAP %s %s %s' % (self.get_map_geometry_shape(),