Browse Source

Update README.md

nxrighthere 7 years ago
parent
commit
eb2a3ae863
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -133,7 +133,7 @@ OutOfMemoryCallback OnOutOfMemory = () => {
 	throw new OutOfMemoryException();
 };
 
-callbacks = new Callbacks(OnMemoryAllocate, OnMemoryFree, OnOutOfMemory);
+Callbacks callbacks = new Callbacks(OnMemoryAllocate, OnMemoryFree, OnOutOfMemory);
 
 if (ENet.Library.Initialize(ref callbacks) > -1)
 	Console.WriteLine("ENet successfully initialized using a custom memory allocator");