Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fixed a crash when joining a teamspeak server while not being logged …
Browse files Browse the repository at this point in the history
…in to discord
  • Loading branch information
Kleinrotti committed Sep 6, 2021
1 parent ecfb81e commit e6236da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions TeamCord.Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.1.3.0")]
[assembly: AssemblyFileVersion("0.1.3.0")]
[assembly: AssemblyVersion("0.1.3.1")]
[assembly: AssemblyFileVersion("0.1.3.1")]
4 changes: 2 additions & 2 deletions TeamCord.Plugin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.1.3.0")]
[assembly: AssemblyFileVersion("0.1.3.0")]
[assembly: AssemblyVersion("0.1.3.1")]
[assembly: AssemblyFileVersion("0.1.3.1")]
2 changes: 2 additions & 0 deletions TeamCord.Plugin/TSPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ public void Ts3ChannelChanged(ulong serverConnectionHandler, ushort clientId, ul
/// <param name="serverConnectionHandler"></param>
public void Ts3ServerChanged(ulong serverConnectionHandler)
{
if (ConnectionHandler == null)
return;
Functions.getCurrentPlaybackDeviceName(serverConnectionHandler, out string currentPlaybackDevice, out bool defaultDevice);

Functions.getCurrentPlayBackMode(serverConnectionHandler, out string mode);
Expand Down

0 comments on commit e6236da

Please sign in to comment.