Skip to content

Commit

Permalink
fix crash when initializing sniffer
Browse files Browse the repository at this point in the history
  • Loading branch information
foglio1024 committed Jun 8, 2021
1 parent 9e233c8 commit ae448e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TCC.Core/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ private static async Task Setup()
SplashScreen.VM.Progress = 80;
SplashScreen.VM.BottomText = "Initializing packet processor...";
PacketAnalyzer.ProcessorReady += LoadModules;
await PacketAnalyzer.InitAsync(Settings.CaptureMode, ToolboxMode);
PacketAnalyzer.InitServerDatabase(DataPath, Path.Combine(ResourcesPath, "config/server-overrides.txt"), string.IsNullOrEmpty(Settings.LastLanguage)
? "EU-EN"
: Settings.LastLanguage);
await PacketAnalyzer.InitAsync(Settings.CaptureMode, ToolboxMode);
_ = StubInterface.Instance.InitAsync(Settings.LfgWindowSettings.Enabled,
Settings.EnablePlayerMenu,
Settings.EnableProxy,
Expand Down

0 comments on commit ae448e0

Please sign in to comment.