Skip to content

Commit

Permalink
attempt to fix eating
Browse files Browse the repository at this point in the history
  • Loading branch information
PortPixel authored Jul 12, 2016
1 parent 2e4e90b commit f542680
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,11 @@ io.on('connection', function (socket) {
id: socket.id,
x: position.x,
y: position.y,
w: c.defaultPlayerMass,
w: util.massToRadius(massTotal);
h: util.massToRadius(massTotal);
/* w: c.defaultPlayerMass,
h: c.defaultPlayerMass,
cells: cells,
cells: cells,*/
massTotal: massTotal,
hue: Math.round(Math.random() * 360),
type: type,
Expand Down

0 comments on commit f542680

Please sign in to comment.