Fixed client dispose NRE

This commit is contained in:
Garry Newman 2016-10-12 10:19:43 +01:00
parent 9f4f555e76
commit 029cad5514

View File

@ -99,8 +99,11 @@ public override void Update()
public override void Dispose()
{
Voice.Dispose();
Voice = null;
if ( Voice != null )
{
Voice.Dispose();
Voice = null;
}
base.Dispose();