From 96ca2c66ce93e0bc7c0ca395470287937fa06a87 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Wed, 12 Apr 2023 18:17:46 +0200 Subject: [PATCH] increased delay for locking --- src/core/Global.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Global.ttslua b/src/core/Global.ttslua index 5db7670f..10701019 100644 --- a/src/core/Global.ttslua +++ b/src/core/Global.ttslua @@ -936,7 +936,7 @@ function spawnHelperObject(name, position, rotation) if obj["Nickname"] == name then spawnTable.data = obj spawnTable.callback_function = function(spawnedObj) - Wait.time(function() spawnedObj.setLock(true) end, 1) + Wait.time(function() spawnedObj.setLock(true) end, 2) end return spawnObjectData(spawnTable) end