suite des traductions

This commit is contained in:
Vanadar
2014-02-06 18:36:14 +01:00
parent 7ac28eeb1a
commit 71ee298e50
4 changed files with 103 additions and 39 deletions
+1 -1
View File
@@ -944,7 +944,7 @@ var Room = {
}
if($SM.get('game.builder.level') < 4) return false;
var craftable = Room.Craftables[thing];
if(Room.needsWorkshop(craftable.type) && $SM.get('game.buildings["workshop"]', true) == 0) return false;
if(Room.needsWorkshop(craftable.type) && $SM.get('game.buildings["'+'workshop'+'"]', true) == 0) return false;
var cost = craftable.cost();
//show button if one has already been built