victory display api bugfix

This commit is contained in:
Chr1Z93 2023-10-08 10:52:17 +02:00
parent bd1bbb92de
commit 7bdb3d5347

View File

@ -16,7 +16,7 @@ do
---@param object Object Object that should be checked and potentially moved ---@param object Object Object that should be checked and potentially moved
VictoryDisplayApi.placeCard = function(object) VictoryDisplayApi.placeCard = function(object)
if object ~= nil and object.tag == "Card" then if object ~= nil and object.tag == "Card" then
getVictoryDisplay().call("getObjectByOwnerAndType", { owner = "Mythos", type = "VictoryDisplay" }).call("placeCard", object) getVictoryDisplay().call("placeCard", object)
end end
end end