Two muzzles fix

This commit is contained in:
Sardelka
2022-06-02 13:52:18 +08:00
parent 2c6f0dbe3d
commit 051b496021
5 changed files with 27 additions and 41 deletions

View File

@ -130,7 +130,7 @@ namespace RageCoop.Client
s=$@"
// {ToMark.DisplayName}
case {ToMark.Model.Hash}:
i=Main.Ticked%2==0 ? {Current} : {Secondary};
i=BulletsShot%2==0 ? {Current} : {Secondary};
return new MuzzleInfo(v.Bones[i].Position, v.Bones[i].{dir}Vector);
";
}
@ -139,7 +139,7 @@ namespace RageCoop.Client
s=$@"
// {ToMark.DisplayName}
case {ToMark.Model.Hash}:
i=Main.Ticked%2==0 ? {Current} : {Secondary};
i=BulletsShot%2==0 ? {Current} : {Secondary};
return new MuzzleInfo(v.Bones[i].Position, v.Bones[i].{((MuzzleDir)(dir-3)).ToString()}Vector*-1);
";
}