removed chaos bag shuffling onload
This commit is contained in:
parent
67c9cf2643
commit
54f825a417
@ -1,13 +1,9 @@
|
||||
-- automatically add correct names to tokens that enter the chaos bag
|
||||
function filterObjectEnter(obj)
|
||||
local props = obj.getCustomObject()
|
||||
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
|
||||
return true
|
||||
end
|
||||
|
||||
function onCollisionEnter(collision_info)
|
||||
self.shuffle()
|
||||
self.shuffle()
|
||||
self.shuffle()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user