Fix playermat drawEncountercard() for new playerColor variable name

This commit is contained in:
Adam Goldsmith 2023-07-22 00:15:42 -04:00
parent 7a9afb4d80
commit 1294571f00
4 changed files with 4 additions and 4 deletions

View File

@ -1462,7 +1462,7 @@ function drawChaosTokenButton(_, _, isRightClick)
end end
function drawEncountercard(_, _, isRightClick) function drawEncountercard(_, _, isRightClick)
Global.call("drawEncountercard", PLAYER_COLOR) Global.call("drawEncountercard", playerColor)
end end
function returnGlobalDiscardPosition() function returnGlobalDiscardPosition()

View File

@ -839,7 +839,7 @@ function drawChaosTokenButton(_, _, isRightClick)
end end
function drawEncountercard(object, player, isRightClick) function drawEncountercard(object, player, isRightClick)
Global.call("drawEncountercard", PLAYER_COLOR) Global.call("drawEncountercard", playerColor)
end end
function returnGlobalDiscardPosition() function returnGlobalDiscardPosition()

View File

@ -839,7 +839,7 @@ function drawChaosTokenButton(_, _, isRightClick)
end end
function drawEncountercard(object, player, isRightClick) function drawEncountercard(object, player, isRightClick)
Global.call("drawEncountercard", PLAYER_COLOR) Global.call("drawEncountercard", playerColor)
end end
function returnGlobalDiscardPosition() function returnGlobalDiscardPosition()

View File

@ -824,7 +824,7 @@ function drawChaosTokenButton(_, _, isRightClick)
end end
function drawEncountercard(object, player, isRightClick) function drawEncountercard(object, player, isRightClick)
Global.call("drawEncountercard", PLAYER_COLOR) Global.call("drawEncountercard", playerColor)
end end
function returnGlobalDiscardPosition() function returnGlobalDiscardPosition()