Skip to content

Conversation

@A1mDev
Copy link
Contributor

@A1mDev A1mDev commented Oct 3, 2025

  • Added deletion of the central pellet patch when unloading the plugin. This patch is applied in-game, not in the ASM patch. The value is restored after unloading to prevent logic issues with other server settings.
  • Added a check for the central pellet patch offset.
  • Removed unnecessary type conversions and improved readability.
  • Minor plugin refactoring.

- Added deletion of the `central pellet` patch when unloading the plugin.
  This patch is applied in-game, not in the ASM patch. The value is restored
  after unloading to prevent logic issues with other server settings.
- Added a check for the `central pellet` patch offset.
- Removed unnecessary type conversions and improved readability.
- Minor plugin refactoring.
@A1mDev A1mDev changed the title [l4d2_static_shotgun_spread] Restore central bullet on unload [l4d2_static_shotgun_spread] Restore patch central pellet on unload plugin Oct 3, 2025
@SirPlease SirPlease merged commit d658f09 into SirPlease:master Oct 26, 2025
2 checks passed
@A1mDev A1mDev deleted the l4d2_static_shotgun_spread branch November 4, 2025 13:51
KevonLin pushed a commit to KevonLin/L4D2-Competitive-Rework that referenced this pull request Dec 23, 2025
… plugin (SirPlease#913)

* [l4d2_static_shotgun_spread] Restore central bullet on unload

- Added deletion of the `central pellet` patch when unloading the plugin.
  This patch is applied in-game, not in the ASM patch. The value is restored
  after unloading to prevent logic issues with other server settings.
- Added a check for the `central pellet` patch offset.
- Removed unnecessary type conversions and improved readability.
- Minor plugin refactoring.

* Code refactoring

* Fix mistake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants