Fix race conditions with saveWorld threading.
This commit is contained in:
parent
2d53001197
commit
061169633d
1 changed files with 4 additions and 4 deletions
|
|
@ -106,11 +106,11 @@ namespace TShockAPI
|
|||
/// </summary>
|
||||
public static void SaveWorld()
|
||||
{
|
||||
WorldGen.saveWorld();
|
||||
WorldGen.RealsaveWorld();
|
||||
|
||||
Broadcast("World Saved", Color.Yellow);
|
||||
Console.WriteLine("World backed up");
|
||||
Log.Info(string.Format("World backed up ({0})", Main.worldPathName));
|
||||
Broadcast("World saved.", Color.Yellow);
|
||||
Console.WriteLine("World saved.");
|
||||
Log.Info(string.Format("World saved at ({0})", Main.worldPathName));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue