From: Eric S. Raymond Date: Tue, 17 Oct 2006 14:08:28 +0000 (+0000) Subject: Fix an embarassing last-minute bug. X-Git-Tag: 2.0~61 X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=commitdiff_plain;h=ca9c535343fcd397a088ed2ae758e23254397ca1 Fix an embarassing last-minute bug. --- diff --git a/src/sst.py b/src/sst.py index 08616b8..7ca3fb7 100644 --- a/src/sst.py +++ b/src/sst.py @@ -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: