removed chaos bag shuffling onload

This commit is contained in:
Chr1Z93 2022-12-16 03:27:38 +01:00
parent 67c9cf2643
commit 54f825a417

View File

@ -1,13 +1,9 @@
-- automatically add correct names to tokens that enter the chaos bag
function filterObjectEnter(obj) function filterObjectEnter(obj)
local props = obj.getCustomObject() local props = obj.getCustomObject()
if props ~= nil and props.image ~= nil then if props ~= nil and props.image ~= nil then
obj.setName(Global.call("getTokenName", { url=props.image })) obj.setName(Global.call("getTokenName", { url = props.image }))
end end
return true return true
end end
function onCollisionEnter(collision_info)
self.shuffle()
self.shuffle()
self.shuffle()
end