Commit 1d22e165 authored by mercury233's avatar mercury233

don't save replay

parent 9e0baa79
......@@ -203,6 +203,7 @@ namespace WindBot.Game
{
byte[] replay = packet.ReadToEnd();
/*
const string directory = "Replays";
if (!Directory.Exists(directory))
Directory.CreateDirectory(directory);
......@@ -213,8 +214,9 @@ namespace WindBot.Game
if (Regex.IsMatch(file, @"^[\w\-. ]+$"))
File.WriteAllBytes(fullname, replay);
*/
Connection.Close();
//Connection.Close();
}
private void OnDuelEnd(BinaryReader packet)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment