1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

[server] Fix ChunkTools.GetContainingChunkReferences

This commit is contained in:
Starbeamrainbowlabs 2017-06-24 20:42:43 +01:00
parent bfe8c25b6c
commit 914e3abfe3

View file

@ -26,8 +26,8 @@ namespace SBRL.Utilities
{ {
result.Add(new ChunkReference( result.Add(new ChunkReference(
plane, plane,
currentLocation.X, currentLocation.X / plane.ChunkSize,
currentLocation.Y currentLocation.Y / plane.ChunkSize
)); ));
currentLocation.X += plane.ChunkSize; currentLocation.X += plane.ChunkSize;