Mercurial > sypikslang
diff gamelib/missions.py @ 164:7beac783139b
Fix calling of apply_mission_special to avoid gamestate.milestone ending up as a dict.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Fri, 11 May 2012 23:21:15 +0200 |
parents | f1efd252e8b0 |
children | d23f920efede |
line wrap: on
line diff
--- a/gamelib/missions.py Fri May 11 22:35:10 2012 +0200 +++ b/gamelib/missions.py Fri May 11 23:21:15 2012 +0200 @@ -36,7 +36,7 @@ if not self.applied: state.money += self.money state.reputation += self.reputation - state.apply_mission_special(self.special) + state.apply_mission_special(**self.special) self.applied = True else: raise RuntimeError('attempted to apply result twice')