From 2fe92d9abfeaa8ca2f7aaeea8a6dfcaeb4967c2c Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Sat, 27 Jan 2024 03:01:48 +0100 Subject: [PATCH] added additional check to tokenchecker --- src/core/token/TokenChecker.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/token/TokenChecker.ttslua b/src/core/token/TokenChecker.ttslua index 8d080f86..905d7878 100644 --- a/src/core/token/TokenChecker.ttslua +++ b/src/core/token/TokenChecker.ttslua @@ -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