Skip to content

Commit

Permalink
this needs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Reaver01 committed Jul 23, 2016
1 parent cd9bdc5 commit 55a2107
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion web/catchable.json

This file was deleted.

7 changes: 4 additions & 3 deletions web/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ var bagItems = {};
var bagCandy = {};
var emptyDex = [];
var pokemonArray = {};
var forts = [];
var info_windows = [];
var i;
var user_index;
var trainerSex = ["m","f"]
Expand Down Expand Up @@ -56,10 +58,8 @@ var errorFunc = function(xhr) {
console.error(xhr);
};

var forts = [];
var info_windows = [];
var trainerFunc = function(data, user_index) {
var z = 0;
/* var z = 0;
for (var i = 0; i < data.cells.length; i++) {
cell = data.cells[i];
for (var x = 0; x < data.cells[i].forts.length; x++) {
Expand Down Expand Up @@ -90,6 +90,7 @@ var trainerFunc = function(data, user_index) {
}
}
*/
if (user_data[users[user_index]].hasOwnProperty('marker') === false) {
console.log("New Marker: Trainer - " + data.lat + ", " + data.lng);
randomSex = Math.floor(Math.random() * 1)
Expand Down

0 comments on commit 55a2107

Please sign in to comment.