From 81f4f678c7945ed15c74a869559d1b17a9ec6b4d Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Mon, 17 Apr 2023 09:26:25 +0200 Subject: [PATCH] readded index to stop token draw lagging --- src/core/Global.ttslua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/Global.ttslua b/src/core/Global.ttslua index 668c5a36..c368c413 100644 --- a/src/core/Global.ttslua +++ b/src/core/Global.ttslua @@ -301,6 +301,7 @@ function drawChaosToken(params) -- add the token to the list, compute new position based on list length tokenOffset[1] = tokenOffset[1] + (0.17 * #chaosTokens) local token = chaosbag.takeObject({ + index = 0, position = mat.positionToWorld(tokenOffset), rotation = mat.getRotation() })