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:
parent
27390a33b8
commit
5914ee6d56
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue