Adds some broadcasting on map saves

This commit is contained in:
Twitchy 2011-06-29 19:06:20 +12:00
parent 72bc9a9afe
commit 80ca8509a3
2 changed files with 2 additions and 0 deletions

View file

@ -67,6 +67,7 @@ namespace TShockAPI
if (worldpath != null && !Directory.Exists(worldpath))
Directory.CreateDirectory(worldpath);
Tools.Broadcast("Server map saving, potential lag spike");
WorldGen.saveWorld();
Console.WriteLine("World backed up");

View file

@ -911,6 +911,7 @@ namespace TShockAPI
private static void Save(CommandArgs args)
{
Tools.Broadcast("Server map saving, potential lag spike");
WorldGen.saveWorld();
args.Player.SendMessage("World saved.");
}