Merge pull request #103 from argonui/remove-chaosbag-shuffle
Chaos Bag: Stop shuffling onLoad()
This commit is contained in:
commit
83ff3eb65b
@ -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