Skip to content

fix(compat): support SM 1.13 compiler - #41

Merged
Rushaway merged 2 commits into
masterfrom
Rushaway-patch-1
Aug 15, 2026
Merged

fix(compat): support SM 1.13 compiler#41
Rushaway merged 2 commits into
masterfrom
Rushaway-patch-1

Conversation

@Rushaway

Copy link
Copy Markdown
Member

#40

Copilot AI lite review requested due to automatic review settings August 15, 2026 10:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates BossHP to compile cleanly under the SourceMod 1.13 SourcePawn compiler by removing reliance on KeyValues.GetString() returning a boolean (as reported in issue #40).

Changes:

  • Adjusted config parsing in LoadConfig() to call KvConfig.GetString(...) and validate required keys by checking for empty strings.
  • Bumped the plugin patch version from 1.4.6 to 1.4.7.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
addons/sourcemod/scripting/BossHP.sp Updates required config-key reads (breakable/counter/iterator/backup) to avoid using a void return value in expressions under SM 1.13.
addons/sourcemod/scripting/include/BossHP.inc Patch version bump to reflect the compatibility fix release.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Rushaway
Rushaway merged commit 62c9a51 into master Aug 15, 2026
7 checks passed
@Rushaway
Rushaway deleted the Rushaway-patch-1 branch August 15, 2026 11:04
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