Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
### Fixes
- Fixed players swallowed by the Cannibal still being able to trigger traitor traps
- Fixed various roles erroring about unsupported hook 'TTTUpdateRoleState'
- Fixed error causing rounds to not end when the Cannibal should have won

### Developer
- Added `TTTHUDInfoPositionOverride` hook to override the position of the player information HUD (role, health, ammo etc.)
Expand Down
2 changes: 2 additions & 0 deletions gamemodes/terrortown/gamemode/roles/cannibal/cannibal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ CreateConVar("ttt_cannibal_notify_confetti", "0", FCVAR_NONE, "Whether to throw
--------------------

local function ReleaseEatenPlayers(ply, message)
if GetRoundState() ~= ROUND_ACTIVE then return end

local cannibalSID64 = ply:SteamID64()
for _, v in PlayerIterator() do
if v.TTTCannibalEaten and v.TTTCannibalEaten == cannibalSID64 then
Expand Down
Loading