Skip to content

Commit 19c410d

Browse files
authored
Fix warning spam while being revived (#1862)
1 parent cd3a1c1 commit 19c410d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel
2424
- Fixed vFire explosions still killing players with `NoExplosionDamage` equipped (by @TW1STaL1CKY)
2525
- Fixed vFire explosions sometimes not damaging entities in the way they should, like explosive barrels (by @TW1STaL1CKY)
2626
- Fixed an issue where overhead icons from `TTT2ModifyOverheadIcon` were ignored when `shouldDrawDefault` was false (by @mexikoedi)
27+
- Fixed pressing keys while being revived spamming your HUD with warnings (by @archrbx)
2728
- Fixed `SetIronsights` nil value error (by @mexikoedi)
2829

2930
### Removed / Breaking Changes

gamemodes/terrortown/gamemode/server/sv_player.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,6 @@ function GM:KeyPress(ply, key)
397397

398398
-- Do not allow the spectator to gather information if they're about to revive.
399399
if ply:IsReviving() then
400-
LANG.Msg(ply, "spec_about_to_revive", nil, MSG_MSTACK_WARN)
401-
402400
return
403401
end
404402

0 commit comments

Comments
 (0)