Whoops, num4 was already defined :D
This commit is contained in:
parent
4fa3ff77a2
commit
7ab577282e
1 changed files with 0 additions and 1 deletions
|
|
@ -1055,7 +1055,6 @@ namespace TShockAPI
|
||||||
num6 = (Main.rockLayer + Main.rockLayer + (double)Main.maxTilesY) / 3.0;
|
num6 = (Main.rockLayer + Main.rockLayer + (double)Main.maxTilesY) / 3.0;
|
||||||
}
|
}
|
||||||
int j2 = WorldGen.genRand.Next((int)num6, Main.maxTilesY - 150);
|
int j2 = WorldGen.genRand.Next((int)num6, Main.maxTilesY - 150);
|
||||||
int num4 = WorldGen.genRand.Next(0, 2 ) - 1;
|
|
||||||
WorldGen.OreRunner(i2, j2, (double)WorldGen.genRand.Next(5, 9 + num4), WorldGen.genRand.Next(5, 9 + num4), num);
|
WorldGen.OreRunner(i2, j2, (double)WorldGen.genRand.Next(5, 9 + num4), WorldGen.genRand.Next(5, 9 + num4), num);
|
||||||
num5++;
|
num5++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue