changeset 194:5ec222ca07cd

Selling eggs at the right price
author Neil Muller <drnlmuller@gmail.com>
date Fri, 04 Sep 2009 18:45:45 +0000
parents db246683d5da
children 9d31cfc3afde
files gamelib/gameboard.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/gameboard.py	Fri Sep 04 18:45:06 2009 +0000
+++ b/gamelib/gameboard.py	Fri Sep 04 18:45:45 2009 +0000
@@ -308,7 +308,7 @@
         def do_sell(chicken):
             if chicken.egg:
                 # We sell the egg
-                self.add_cash(constants.SELL_PRICE_CHICKEN)
+                self.add_cash(constants.SELL_PRICE_EGG)
                 sound.play_sound("sell-chicken.ogg")
                 chicken.egg = None
                 self.eggs -= 1