Fix an embarassing last-minute bug.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 17 Oct 2006 14:08:28 +0000 (14:08 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 17 Oct 2006 14:08:28 +0000 (14:08 +0000)
src/sst.py

index 08616b8f246d015dd716eab21f1b0f6a1cf33e5a..7ca3fb7b62a7f2aa7513bce1a56f72dd448a26ab 100644 (file)
@@ -5146,7 +5146,7 @@ def status(req=0):
        if game.condition != "docked":
            newcnd()
        prstat(_("Condition"), _("%s, %i DAMAGES") % \
-               (game.condition.upper(), sum(map(lambda x: x > 0, damages))))
+               (game.condition.upper(), sum(map(lambda x: x > 0, game.damage))))
     if not req or req == 3:
        prstat(_("Position"), "%s , %s" % (game.quadrant, game.sector))
     if not req or req == 4: