mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Merge pull request #225 from anubisthejackle/master
Limit Fire event to only Outside module
This commit is contained in:
@@ -66,7 +66,7 @@ Events.Outside = [
|
||||
{
|
||||
title: _('Fire'),
|
||||
isAvailable: function() {
|
||||
return $SM.get('game.buildings["hut"]', true) > 0 && $SM.get('game.population', true) > 5;
|
||||
return Engine.activeModule == Outside && $SM.get('game.buildings["hut"]', true) > 0 && $SM.get('game.population', true) > 5;
|
||||
},
|
||||
scenes: {
|
||||
'start': {
|
||||
|
||||
Reference in New Issue
Block a user