Пример #1
0
 /// <summary>
 /// A function that is called when the game is about to load. Used to clean up all the npcs from the game world to prevent it from crashing.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void SaveEvents_BeforeSave(object sender, EventArgs e)
 {
     npcTracker.cleanUpBeforeSave();
 }