Fix up stinkytracker to play nice with the new messages

This commit is contained in:
2025-01-26 19:59:23 +01:00
parent 1ed379c23d
commit d3808a887e

View File

@@ -64,8 +64,8 @@ function shared.StinkyTracker.Init()
return stinkies return stinkies
end end
local arrivedRegex = "([^ -/]+)-?%w* c:(%w+)" local arrivedRegex = "([^ -/]+)-?%w*; c:(%w+)"
local arrivedRegexAlt = "([^ -/]+)-?%w* %(!!!!%) c:(%w+)" local arrivedRegexAlt = "([^ -/]+)-?%w*%(!!!!%); c:(%w+)"
---@param msg string ---@param msg string
---@return table<string, stinky> ---@return table<string, stinky>
local function ParseArrived(msg) local function ParseArrived(msg)