private static void AutoSave(IGameClient client) { if ((DateTime.UtcNow - client.LastSave).TotalSeconds > ServerContext.Config.SaveRate) { client.Save(); } }