mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-30 09:11:54 +08:00
speed up and bug fix
This commit is contained in:
+1
-3
@@ -163,9 +163,7 @@ var Outside = {
|
||||
},
|
||||
|
||||
numBuilding: function(bName) {
|
||||
return $SM.get('features.location.outside') &&
|
||||
$SM.get('game.outside.buildings') &&
|
||||
$SM.get('game.outside.buildings[\''+bName+'\']', true);
|
||||
return $SM.get('game.outside.buildings[\''+bName+'\']', true);
|
||||
},
|
||||
|
||||
addBuilding: function(bName, num) {
|
||||
|
||||
Reference in New Issue
Block a user