Skip to content

Commit

Permalink
Let thieves Steal.
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyLambregts committed Jul 25, 2014
1 parent 0087da9 commit 08277b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/state_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ var StateManager = {
for(var k in cost) {
var have = $SM.get('stores["'+k+'"]', true);
if(have + cost[k] < 0) {
ok = false;
if(source != 'thieves') ok = false;
}
}
if(ok){
Expand Down

0 comments on commit 08277b3

Please sign in to comment.