Merge branch 'main' into globalapi

This commit is contained in:
Chr1Z93 2024-11-18 17:01:22 +01:00
commit 046dae888c
2 changed files with 3 additions and 2 deletions

View File

@ -117,6 +117,7 @@ function onLoad(savedData)
sealedTokens = JSON.decode(savedData) or {}
ID_URL_MAP = chaosBagApi.getIdUrlMap()
generateContextMenu()
updateStackSize()
self.addTag("CardThatSeals")
end

View File

@ -1211,10 +1211,10 @@ function modifySlot(newSlot, cardPosition)
if snapPosition == cardPosition then
slotData[snapId] = newSlot
if Player[playerColor].seated then
printToColor(newSlot .. " slot added to player mat", playerColor, Color.fromString(playerColor))
printToColor(newSlot .. " slot added to player mat", playerColor, playerColor)
else
local hostColor = Player.getPlayers()[1].color
printToColor(newSlot .. " slot added to player mat", hostColor, Color.fromString(hostColor))
printToColor(newSlot .. " slot added to player mat", hostColor, hostColor)
end
end
end