MFPS 1.7 Grenade Bug?

Support for MFPS 2.0 (for verified users)
Forum rules
To request support/assistance for MFPS, you first have to verify your purchase by sending your purchase invoice number to Lovatto in a PM.
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: 1834
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