Fix to not include bayonet as default skin
This commit is contained in:
2
skins.py
2
skins.py
@@ -51,7 +51,7 @@ for weapon in weapons.values():
|
|||||||
if weapon[4] == "Gloves" and not "Default" in weapon[2]:
|
if weapon[4] == "Gloves" and not "Default" in weapon[2]:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
default = weapon[1] in default_weapons or ("weapon" in weapon[1] and not "knife" in weapon[1])
|
default = weapon[1] in default_weapons or ("weapon" in weapon[1] and not "knife" in weapon[1] and not "bayonet" in weapon[1])
|
||||||
|
|
||||||
skin = {
|
skin = {
|
||||||
"weapon": weapon[0],
|
"weapon": weapon[0],
|
||||||
|
|||||||
Reference in New Issue
Block a user