Omnibus commited on
Commit
ce16325
1 Parent(s): bed5506

Update js/main.js

Browse files
Files changed (1) hide show
  1. js/main.js +4 -4
js/main.js CHANGED
@@ -118,7 +118,7 @@ function addBuilding (blockId, buildingType, buildingVersion){
118
  blocks[blockId].bVersion = buildingVersion;
119
  money = money - 100;
120
  rateMoney = rateMoney + 100;
121
- rateWaste = rateWaste + 15;
122
  refresh(selected);
123
  } else {
124
  alert("Need mas money!");
@@ -130,7 +130,7 @@ function addBuilding (blockId, buildingType, buildingVersion){
130
  blocks[blockId].bVersion = buildingVersion;
131
  money = money - 500;
132
  rateMoney = rateMoney + 250;
133
- rateWaste = rateWaste + 5;
134
  refresh(selected);
135
  } else {
136
  alert("Need mas money!");
@@ -142,7 +142,7 @@ function addBuilding (blockId, buildingType, buildingVersion){
142
  blocks[blockId].bVersion = buildingVersion;
143
  money = money - 2500;
144
  rateMoney = rateMoney + 1500;
145
- rateWaste = rateWaste + 15;
146
  refresh(selected);
147
  } else {
148
  alert("Need mas money!");
@@ -154,7 +154,7 @@ function addBuilding (blockId, buildingType, buildingVersion){
154
  blocks[blockId].bVersion = buildingVersion;
155
  money = money - 1500;
156
  rateMoney = rateMoney + 500;
157
- rateWaste = rateWaste + 5;
158
  refresh(selected);
159
  } else {
160
  alert("Need mas money!");
 
118
  blocks[blockId].bVersion = buildingVersion;
119
  money = money - 100;
120
  rateMoney = rateMoney + 100;
121
+ rateWaste = rateWaste + 5;
122
  refresh(selected);
123
  } else {
124
  alert("Need mas money!");
 
130
  blocks[blockId].bVersion = buildingVersion;
131
  money = money - 500;
132
  rateMoney = rateMoney + 250;
133
+ rateWaste = rateWaste + 1;
134
  refresh(selected);
135
  } else {
136
  alert("Need mas money!");
 
142
  blocks[blockId].bVersion = buildingVersion;
143
  money = money - 2500;
144
  rateMoney = rateMoney + 1500;
145
+ rateWaste = rateWaste + 5;
146
  refresh(selected);
147
  } else {
148
  alert("Need mas money!");
 
154
  blocks[blockId].bVersion = buildingVersion;
155
  money = money - 1500;
156
  rateMoney = rateMoney + 500;
157
+ rateWaste = rateWaste + 1;
158
  refresh(selected);
159
  } else {
160
  alert("Need mas money!");