Merge pull request #232 from argonui/data-helper-cleanup
Data Helper: removal of deprecated functionality
This commit is contained in:
commit
cfdd6831b6
File diff suppressed because it is too large
Load Diff
@ -218,7 +218,8 @@ function actualEncounterCardDraw(card, params)
|
||||
local alwaysFaceUp = params[3]
|
||||
local faceUpRotation = 0
|
||||
if not alwaysFaceUp then
|
||||
if getObjectFromGUID(DATA_HELPER_GUID).call('checkHiddenCard', card.getName()) then
|
||||
local metadata = JSON.decode(card.getGMNotes()) or {}
|
||||
if metadata.hidden or getObjectFromGUID(DATA_HELPER_GUID).call('checkHiddenCard', card.getName()) then
|
||||
faceUpRotation = 180
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user