Merge branch 'main' into globalapi
This commit is contained in:
commit
046dae888c
@ -117,6 +117,7 @@ function onLoad(savedData)
|
||||
sealedTokens = JSON.decode(savedData) or {}
|
||||
ID_URL_MAP = chaosBagApi.getIdUrlMap()
|
||||
generateContextMenu()
|
||||
updateStackSize()
|
||||
self.addTag("CardThatSeals")
|
||||
end
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user