fix issue with iw5 weapon prefix not being removed properly
This commit is contained in:
parent
21087d6c25
commit
f916c51bc0
@ -49,8 +49,9 @@ namespace Stats.Client
|
|||||||
|
|
||||||
// remove the _mp suffix
|
// remove the _mp suffix
|
||||||
var filtered = splitWeaponName
|
var filtered = splitWeaponName
|
||||||
.Where(part => part != configForGame.WeaponSuffix && part != configForGame.WeaponPrefix);
|
.Where(part => part != configForGame.WeaponSuffix && part != configForGame.WeaponPrefix)
|
||||||
var baseName = splitWeaponName.First();
|
.ToList();
|
||||||
|
var baseName = filtered.First();
|
||||||
var attachments = new List<string>();
|
var attachments = new List<string>();
|
||||||
|
|
||||||
if (filtered.Count() > 1)
|
if (filtered.Count() > 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user