Skip to content

Commit

Permalink
Lean debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxattax97 committed Jan 22, 2017
1 parent 520ba38 commit 245a3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/newsServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function getUser(uuid, lean, callback)

function findNewNetwork(network, lean, callback) {
var newLean = lean - (lean / Math.abs(lean)) * (randomInt(30, 100)) / 400;
console.log("lean " + lean);
console.log("lean " + lean + " " + newLean);
newsNetwork.getNewsNetworksByLean(network, newLean, function(newNetworks) {
callback(newNetworks[randomInt(0, newNetworks.length - 1)]);
});
Expand Down

0 comments on commit 245a3ad

Please sign in to comment.