mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Use Outside.killVillagers to kill villagers
This commit is contained in:
@@ -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': {
|
||||
|
||||
Reference in New Issue
Block a user