Limit Fire event to only Outside module

This commit is contained in:
Travis Weston
2015-02-08 22:33:18 -05:00
parent 8010597e44
commit 25b2fbfa5f
+1 -1
View File
@@ -66,7 +66,7 @@ Events.Outside = [
{ {
title: _('Fire'), title: _('Fire'),
isAvailable: function() { 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: { scenes: {
'start': { 'start': {