public void FindSpawn()
{
for (int index = 0; index < 200; ++index)
{
if (this.spN[index] == null)
{
this.SpawnX = -1;
this.SpawnY = -1;
break;
}
if (this.spN[index] == Main.worldName && this.spI[index] == Main.worldID)
{
this.SpawnX = this.spX[index];
this.SpawnY = this.spY[index];
break;
}
}
}