private static bool PatchReplays()
 {
     Replays.m_Path = Path.Combine(GamePersistentPath.GetPersistentDataDirectory(), Replays.REPLAYS_DIRECTORY);
     Utils.TryToCreateDirectory(Replays.m_Path);
     Replays.m_Path = Path.Combine(Replays.m_Path, "modded");
     Utils.TryToCreateDirectory(Replays.m_Path);
     Replays.m_PathForPublicDisplay = Path.Combine(GamePersistentPath.GetCensoredPersistentDataDirectory(), Replays.REPLAYS_DIRECTORY);
     return(!ptfInstance.modCheated);
 }
 public static void setReplaysModded()
 {
     if (GamePersistentPath.GetPersistentDataDirectory() == null)
     {
         return;
     }
     Replays.m_Path = Path.Combine(GamePersistentPath.GetPersistentDataDirectory(), Replays.REPLAYS_DIRECTORY);
     Replays.m_Path = Path.Combine(Replays.m_Path, "modded");
     Utils.TryToCreateDirectory(Replays.m_Path);
 }
 public static void setReplaysVanilla()
 {
     Replays.m_Path = Path.Combine(GamePersistentPath.GetPersistentDataDirectory(), Replays.REPLAYS_DIRECTORY);
 }