Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Clipless ammo weapons won't switch after running out of ammo #65

Closed
DanishSoup opened this issue Jul 20, 2023 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@DanishSoup
Copy link

Description

When using "rage_new_weapon" with a clipless weapon, after running out of ammo the weapon will still be held out and can be switched back to.

Reproduce

Steps to reproduce the behavior:

  1. Use "rage_new_weapon" on a boss with a clipless weapon (Ex. flare gun, mad milk, minigun, etc)
  2. Waste all ammo on the gun
  3. See error

Media

Clipless weapon behavior: https://youtu.be/HaWsdo-Sabs
Weapon with clip behavior: https://youtu.be/fiDsyFjcWIk

Environment

  • OS: Linux Mint 21.2
  • SourceMod Version/Build: 1.11.0.6934
  • Freak Fortress Version/Build: 1.1.118

Other Information

Add any other context about the problem here.

@DanishSoup DanishSoup added the bug Something isn't working label Jul 20, 2023
@Batfoxkid
Copy link
Owner

Do you have clip amount set? That is known to cause issues.

@DanishSoup
Copy link
Author

Config I got sent to test puts "35" on clip and "n" on ammo. It gives out 35 anyways so I'm not sure if thats the issue

@Batfoxkid
Copy link
Owner

Config I got sent to test puts "35" on clip and "n" on ammo. It gives out 35 anyways so I'm not sure if thats the issue

Avoid both when working with clipless weapons.

@Batfoxkid Batfoxkid closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants