Permalink
Browse files

fix bug #41

  • Loading branch information...
1 parent c3424ea commit 2be27af78024316492ce7ffbb47b349a3c0d3a52 @halida committed Dec 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 srcs/game.py
View
2 srcs/game.py
@@ -176,7 +176,7 @@ def set_player_moves(self, n, kw):
tactic = kw['tactic']
if tactic['type'] not in TACTIC_COST.keys():
return "wrong tactic type: %s" % tactic['type']
- if TACTIC_COST[tactic['type']] < self.player_points[n]:
+ if TACTIC_COST[tactic['type']] > self.player_points[n]:
return "no enough points"
# todo check tactic
self.player_tactics[n] = tactic

0 comments on commit 2be27af

Please sign in to comment.