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

[server] Correct name of handleChunkUpdate() method

This commit is contained in:
Starbeamrainbowlabs 2017-04-23 17:41:15 +01:00
parent 27390a33b8
commit 5914ee6d56

View file

@ -120,7 +120,7 @@ namespace Nibriboard.RippleSpace
// return it fast. // return it fast.
string chunkFilePath = Path.Combine(StorageDirectory, chunkLocation.AsFilename()); string chunkFilePath = Path.Combine(StorageDirectory, chunkLocation.AsFilename());
Chunk loadedChunk = await Chunk.FromFile(this, chunkFilePath); Chunk loadedChunk = await Chunk.FromFile(this, chunkFilePath);
loadedChunk.OnChunkUpdate += HandleChunkUpdate; loadedChunk.OnChunkUpdate += handleChunkUpdate;
loadedChunkspace.Add(chunkLocation, loadedChunk); loadedChunkspace.Add(chunkLocation, loadedChunk);
return loadedChunk; return loadedChunk;
@ -176,7 +176,7 @@ namespace Nibriboard.RippleSpace
/// </summary> /// </summary>
/// <param name="sender">The chunk responsible for the update.</param> /// <param name="sender">The chunk responsible for the update.</param>
/// <param name="eventArgs">The event arguments associated with the chunk update.</param> /// <param name="eventArgs">The event arguments associated with the chunk update.</param>
protected void HandleChunkUpdate(object sender, ChunkUpdateEventArgs eventArgs) protected void handleChunkUpdate(object sender, ChunkUpdateEventArgs eventArgs)
{ {
// Make the chunk update bubble up to plane-level // Make the chunk update bubble up to plane-level
OnChunkUpdate(sender, eventArgs); OnChunkUpdate(sender, eventArgs);