Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SMB3Explorer/SMB3Explorer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<IsPackable>false</IsPackable>
<Version>1.5.0</Version>
<Version>1.5.1</Version>
<Title>SMB Explorer</Title>
<Authors>Trey Brittain &lt;[email protected]&gt;</Authors>
<PackageProjectUrl>https://github.com/tbrittain/SMB3Explorer</PackageProjectUrl>
Expand Down
2 changes: 1 addition & 1 deletion SMB3Explorer/Services/DataService/DataServiceInit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public async Task<OneOf<List<Smb4LeagueSelection>, Error<string>>> EstablishDbCo
return new Error<string>("Invalid save file, missing expected tables");
}

if (_applicationContext.SelectedGame is SelectedGame.Smb3)
if (_applicationContext.SelectedGame is SelectedGame.Smb3 || !isCompressedSaveGame)
{
Log.Information("Successfully established database connection");
return new List<Smb4LeagueSelection>();
Expand Down
2 changes: 1 addition & 1 deletion SMB3Explorer/ViewModels/LandingViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ private async Task<OneOf<Success, Error>> EstablishDbConnection(string filePath,
new Exception(error.Value));
}

if (_applicationContext.SelectedGame is SelectedGame.Smb4)
if (_applicationContext.SelectedGame is SelectedGame.Smb4 && isCompressedSaveGame)
{
var leaguesInConfig = _applicationConfig.GetConfigOptions();
if (leaguesInConfig.TryPickT1(out var error2, out var configOptions))
Expand Down