Removed redundant variable

This commit is contained in:
MaxXor 2015-06-04 20:09:19 +02:00
parent 9085cd6cb6
commit 242ff96e7f
1 changed files with 1 additions and 2 deletions

View File

@ -126,9 +126,8 @@ public static void HandleGetStartupItemsResponse(Client client, GetStartupItemsR
{
if (client.Value.FrmStm == null) return;
char tempChar = item[0];
int type;
if (!int.TryParse(tempChar.ToString(), out type)) continue;
if (!int.TryParse(item.Substring(0, 1), out type)) continue;
string preparedItem = item.Remove(0, 1);
var temp = preparedItem.Split(new string[] { "||" }, StringSplitOptions.None);