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 18, 2016
1 parent 8e37b54 commit 9345f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ io.on('connection', function (socket) {
});
socket.on('2', function(virusCell) {
function splitCell(cell) {
if(cell.mass >= c.defaultPlayerMass*2) {
if(cell.mass >= 10*2) {
cell.mass = cell.mass/2;
cell.radius = util.massToRadius(cell.mass);
currentPlayer.cells.push({
Expand Down

0 comments on commit 9345f84

Please sign in to comment.