How to stop my gun from reloading when I have max ammo in my gun?

Hello I’m having issues with my gun reloading when I have max ammo in my gun to where my gun shouldn’t reload. Is there a fix for this?

Hello Enthuse, Welcome to the Forums.

I’m imagining a system that knows the current ammo (Probably an integer) and also knows the max ammo. (Also an integer)

Then some logic on the reload button that compares the two. (If current ammo == max ammo, then do nothing. Otherwise trigger a reload)

Let us know if you have any questions about this.