Commit 0ac0c80d authored by Hydrox6's avatar Hydrox6

Fixed a bug where new pets would not work on pets.txt

I don't know why it happened, but this fixes it.
parent 788821d0
......@@ -104,11 +104,10 @@ function readFile(e)
{
results = file.split("\n");
console.log(results)
if(results[0].includes("\t"))
{
var children = document.getElementById("background").children;
for(var l = 0, len = results.length; l < len; l++)
for(var l = 0; l < results.length; l++)
{
var v = results[l].split("\t")[1]
if(v != -1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment