Skip to content

fix: sm_banspray crosshair trace and duplicate log line - #73

Merged
Rushaway merged 1 commit into
masterfrom
fix/audit-followup-fixes
Nov 3, 2026
Merged

Rushaway merged 1 commit into
masterfrom
fix/audit-followup-fixes

Conversation

@Rushaway

@Rushaway Rushaway commented Nov 3, 2026

Copy link
Copy Markdown
Member

Fixes #69.

Stacked on #70, this plugin's translation PR: merge #70 first. GitHub then retargets this PR to master; refresh it by merging master (overlapping lines: keep this branch's side).

Changes

  • Version 3.2.15 -> 3.2.16.
  • sm_banspray with no argument now traces the spray under the admin's crosshair, as the code was written to do. The usage text (sm_banspray <target>) is still shown when the command comes from the server console without a target, since the console cannot aim.
  • Drop the duplicate LogAction in the trace branch, so one line with the hash is logged, as in the target branch.

Checks

  • Builds in CI (spcomp 1.12 and the CI dependencies).
  • smtranslate check in CI: 0 errors, 0 warnings.

Base automatically changed from fix/audit-followup to master November 3, 2026 20:25
@Rushaway
Rushaway force-pushed the fix/audit-followup-fixes branch from 3c06a04 to 984a1e5 Compare November 3, 2026 20:26
@Rushaway
Rushaway merged commit 22de76f into master Nov 3, 2026
8 checks passed
@Rushaway
Rushaway deleted the fix/audit-followup-fixes branch November 3, 2026 20:28
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.

Group target names untranslated, and sm_banspray cannot ban the spray under the crosshair

1 participant