added suffix
This commit is contained in:
parent
69a6647a5a
commit
a945f9b4a6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user