-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a101a7
commit 93f91a1
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -682,7 +682,7 @@ local function PlayDeathSound(victim, isSilent) | |
sound = deathsounds[math.random(deathsounds_count)], | ||
} | ||
|
||
if not hook.Run("TTT2PlayDeathScream", tbl, isSilent) then return end | ||
if hook.Run("TTT2PlayDeathScream", tbl, isSilent) == false then return end | ||
Check failure on line 685 in gamemodes/terrortown/gamemode/server/sv_player.lua GitHub Actions / doc-check
|
||
|
||
sound.Play(tbl["sound"], victim:GetShootPos(), 90, 100) | ||
end | ||
|