Merge pull request #565 from argonui/token-checker
Added additional check to TokenChecker
This commit is contained in:
commit
72fb8ca430
@ -25,7 +25,7 @@ do
|
||||
|
||||
-- returns true if the passed object is a chaos token (by name)
|
||||
TokenChecker.isChaosToken = function(obj)
|
||||
if CHAOS_TOKEN_NAMES[obj.getName()] then
|
||||
if obj.type == "Tile" and CHAOS_TOKEN_NAMES[obj.getName()] then
|
||||
return true
|
||||
else
|
||||
return false
|
||||
|
Loading…
Reference in New Issue
Block a user