From bacf58a54e82eb41199fa6ff3e7489eed2e34887 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Mon, 2 Jan 2023 02:42:25 +0100 Subject: [PATCH 1/2] bugfix --- src/playermat/Playmat.ttslua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/playermat/Playmat.ttslua b/src/playermat/Playmat.ttslua index d98e3a31..23f3c266 100644 --- a/src/playermat/Playmat.ttslua +++ b/src/playermat/Playmat.ttslua @@ -663,7 +663,8 @@ function clickableClues(showCounter) local pos = self.positionToWorld({x = -1.12, y = 0.05, z = 0.7}) for i = 1, clueCount do pos.y = pos.y + 0.045 * i - TokenManager.spawnToken(pos, "clue", PLAY_ZONE_ROTATION) + print(i) + tokenManager.spawnToken(pos, "clue", PLAY_ZONE_ROTATION) end end end From ba720a850566534ca154ae7a3b042753517e17f9 Mon Sep 17 00:00:00 2001 From: Chr1Z <97286811+Chr1Z93@users.noreply.github.com> Date: Mon, 2 Jan 2023 02:43:33 +0100 Subject: [PATCH 2/2] removed debug print --- src/playermat/Playmat.ttslua | 1 - 1 file changed, 1 deletion(-) diff --git a/src/playermat/Playmat.ttslua b/src/playermat/Playmat.ttslua index 23f3c266..a879d59a 100644 --- a/src/playermat/Playmat.ttslua +++ b/src/playermat/Playmat.ttslua @@ -663,7 +663,6 @@ function clickableClues(showCounter) local pos = self.positionToWorld({x = -1.12, y = 0.05, z = 0.7}) for i = 1, clueCount do pos.y = pos.y + 0.045 * i - print(i) tokenManager.spawnToken(pos, "clue", PLAY_ZONE_ROTATION) end end