updated condition
This commit is contained in:
parent
abbc8d5ff2
commit
181caf025d
@ -557,7 +557,7 @@ function doDiscardOne()
|
||||
local md = JSON.decode(hand[i].getGMNotes())
|
||||
if md ~= nil and (not md.weakness and not md.hidden and md.type ~= "Enemy") then
|
||||
table.insert(choices, i)
|
||||
else
|
||||
elseif md == nil then
|
||||
broadcastToColor(hand[i].getName() .. " is missing metadata and won't be discarded.", messageColor, "Orange")
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user