MFPS 1.7 Grenade Bug?

Support for MFPS 2.0
Post Reply
User avatar
InCodeWeTrust
Contributor
Contributor
Posts: 18
Joined: Wed Mar 27, 2019 10:05 am

Fresh install with no changes or addons added. Just PUN2 and MFPS 1.7 from Unity Asset Store.

After throwing 1 grenade it does not repopulate in your hand....you can still throw the rest of the grenades but the actual prefab is missing.

Anyone else notice that?

Version: v1.7.5
User avatar
Lovatto
Admin
Admin
Posts: 1778
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

I believe if it's a fresh install from the Asset Store, you mean MFPS 1.7.5
if it's so try the replacing change the line in bl_Gun.cs -> IEnumerator DoReload(...) -> (1274 by default):

Code: Select all

  if (Info.Type == GunType.Grenade) { OnAmmoLauncher.ForEach(x => { x?.SetActive(bulletsLeft > 0); }); }
with:

Code: Select all

 if (Info.Type == GunType.Grenade) { OnAmmoLauncher.ForEach(x => { x?.SetActive(true); }); }
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
InCodeWeTrust
Contributor
Contributor
Posts: 18
Joined: Wed Mar 27, 2019 10:05 am

Thank you. That fixed it.
Post Reply