diff --git a/src/playermat/Playmat.ttslua b/src/playermat/Playmat.ttslua index 9ddb7269..4fcbff84 100644 --- a/src/playermat/Playmat.ttslua +++ b/src/playermat/Playmat.ttslua @@ -214,8 +214,8 @@ function discardListOfObjects(objList) -- put chaos tokens back into bag (e.g. Unrelenting) elseif tokenChecker.isChaosToken(obj) then chaosBagApi.returnChaosTokenToBag(obj) - -- don't touch locked objects (like the table etc.) - elseif not obj.getLock() then + -- don't touch locked objects (like the table etc.) or specific objects (like key tokens) + elseif not obj.getLock() and not obj.hasTag("DontDiscard") then ownedObjects.Trash.putObject(obj) end end