SCED/src/arkhamdb/HotfixBag.ttslua
Entrox-Licher da06070311 Implemented AllCardsBagApi
Caught all (hopefully) references to the AllCardsBag and refactored to utilize the new AllCardsBagApi.
2023-08-09 12:37:45 -04:00

15 lines
550 B
Plaintext

-- A Hotfix bag contains replacement cards for the All Cards Bag, and should
-- have the 'AllCardsHotfix' tag on the object. Code for the All Cards Bag will
-- find these bags during indexing, and use them to replace cards from the
-- actual bag.
-- Tells the All Cards Bag to recreate its indexes. The All Cards Bag may
-- ignore this request; see the rebuildIndexForHotfix() method in the All Cards
-- Bag for details.
local allCardsBagApi = require("playercards/AllCardsBagApi")
function onLoad()
allCardsBagApi.rebuildIndexForHotfix()
end