Skip to content

Fix warning spam while being revived#1862

Merged
saibotk merged 3 commits intoTTT-2:masterfrom
ArchRBX:fix-revival-period-spam
Mar 10, 2026
Merged

Fix warning spam while being revived#1862
saibotk merged 3 commits intoTTT-2:masterfrom
ArchRBX:fix-revival-period-spam

Conversation

@ArchRBX
Copy link
Contributor

@ArchRBX ArchRBX commented Mar 7, 2026

Currently, GM:KeyPress(ply, key) in sv_player has a clause that prevents reviving players from acting.

image

However, this sends the player a warning for every single keypress, spamming their HUD. This can drown out round messages and other useful information. Mostly it's just annoying.

The warning was probably copied over from the identical clause in SpecUseKey which provides useful feedback to reviving players as that's only on attempting to interact with something.

Copy link
Member

@saibotk saibotk left a comment

Choose a reason for hiding this comment

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

Thx 🙏 thats a valid annoyance

@saibotk
Copy link
Member

saibotk commented Mar 8, 2026

Can you resolve the merge conflict? Cant do that on mobile rn

@saibotk saibotk merged commit 19c410d into TTT-2:master Mar 10, 2026
4 checks passed
@ArchRBX ArchRBX deleted the fix-revival-period-spam branch March 10, 2026 14:20
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.

3 participants