Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PortPixel authored Jul 14, 2016
1 parent e2960e7 commit bd4c9e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@ io.on('connection', function (socket) {
if (data.length === 1 && !worked) {
if (data <= 1000) {
//massAmount = data[0];
currentPlayer.massTotal += massAmount;
//currentPlayer.massTotal += massAmount;
currentPlayer.cells[0].mass += massAmount;
}
console.log(currentPlayer.name + ' used massboost successfully');
socket.emit('serverMSG', currentPlayer.name + ' used massboost successfully');
Expand Down

0 comments on commit bd4c9e7

Please sign in to comment.