added suffix

This commit is contained in:
Chr1Z93 2024-06-27 14:33:45 +02:00
parent 69a6647a5a
commit a945f9b4a6

View File

@ -37,13 +37,11 @@ function contextFunc(playerColor, amount)
local invName = playermatApi.getInvestigatorName(matColor)
-- figure out a proper display name for the drop down menu
local displayName
local displayName = color .. " (color)"
if playerName then
displayName = playerName
elseif invName ~= "" then
displayName = invName
else
displayName = color
displayName = invName .. " (inv)"
end
-- recreate table in this script to have access