Update World.Settings.cs

Fix issue with tile ID > 255 wrapping (cast curTile.id to ushort instead of byte).