Describe the bug
Custom weapons defined on a map-specific basis using Petercov's custom weapons framework (i.e. custom weapons defined by manifests such as %mapname%_weapons.txt) cause the game to crash when loading another map, and then loading another map afterwards.
Steps to reproduce
Steps to reproduce the behavior:
- Have a custom weapon defined in a level
- Load a different map that does not have a custom weapon
- Load any other map
- See error
Expected behavior
Custom weapons should not crash the game.
Additional context
I did not thoroughly test this issue because I am preparing for an unrelated release. All I did was isolate it to the custom weapon scripts provided by the initial pull request. It's possible this issue is narrower or broader than map-specific custom weapons.
Describe the bug
Custom weapons defined on a map-specific basis using Petercov's custom weapons framework (i.e. custom weapons defined by manifests such as
%mapname%_weapons.txt) cause the game to crash when loading another map, and then loading another map afterwards.Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Custom weapons should not crash the game.
Additional context
I did not thoroughly test this issue because I am preparing for an unrelated release. All I did was isolate it to the custom weapon scripts provided by the initial pull request. It's possible this issue is narrower or broader than map-specific custom weapons.