Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SchokoShampoo committed Dec 10, 2018
1 parent 3481fc9 commit 1d63738
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gamemodes/terrortown/entities/entities/jester/shared.lua
Expand Up @@ -247,6 +247,12 @@ if SERVER then
end
end)

hook.Add("TTTEndRound", "JesterEndRound", function()
for _, v in ipairs(player.GetAll()) do
hook.Remove("PostPlayerDeath", "JesterWaitForKillerDeath_" .. v:Nick())
end
end)

hook.Add("PlayerCanPickupWeapon", "JesterPickupWeapon", function(ply, wep)
if IsValid(ply) and IsValid(wep) and ply:GetSubRole() == ROLE_JESTER then
if wep:GetClass() == "weapon_zm_molotov" then
Expand Down

0 comments on commit 1d63738

Please sign in to comment.