Skip to content

Commit

Permalink
Use Outside.killVillagers to kill villagers
Browse files Browse the repository at this point in the history
  • Loading branch information
anubisthejackle committed Feb 12, 2015
1 parent 6ee6470 commit 7333d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/events/outside.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Events.Outside = [
var population = $SM.get('game.population', true);
var huts = $SM.get('game.buildings["hut"]', true);
$SM.set('game.buildings["hut"]', (huts - 1));
$SM.set('game.population', (population - 4));
Outside.killVillagers(4);
},
buttons: {
'mourn': {
Expand Down

0 comments on commit 7333d03

Please sign in to comment.