diff --git a/GameRes/FileSystem.cs b/GameRes/FileSystem.cs index a0789d99..3015c5bb 100644 --- a/GameRes/FileSystem.cs +++ b/GameRes/FileSystem.cs @@ -517,7 +517,7 @@ namespace GameRes public void Flush () { - if (LastVisitedArc != null) + if (LastVisitedArc != null && (0 == Count || LastVisitedArc != Top)) { LastVisitedArc.Dispose(); LastVisitedArc = null;