From b9f0eb39769a2429d38658e15e0cc5930884f43d Mon Sep 17 00:00:00 2001 From: hoontee Date: Tue, 26 Mar 2024 21:55:02 -0500 Subject: [PATCH] Increase infinite yield warning threshold --- Pronghorn/init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Pronghorn/init.lua b/Pronghorn/init.lua index 6d72dc4..6d79e3f 100644 --- a/Pronghorn/init.lua +++ b/Pronghorn/init.lua @@ -29,7 +29,7 @@ ║ ██████▀██▓▌▀▌ ▄ ▄▓▌▐▓█▌ ║ ║ ║ ║ ║ -║ Pronghorn Framework Rev. B57 ║ +║ Pronghorn Framework Rev. B58 ║ ║ https://github.com/Iron-Stag-Games/Pronghorn ║ ║ GNU Lesser General Public License v2.1 ║ ║ ║ @@ -114,6 +114,7 @@ function Pronghorn:SetEnabledChannels(newEnabledChannels: {[string]: boolean}) end --- @todo +--- @yields function Pronghorn:Import(paths: {Instance}) if imported then error("Pronghorn:Import() cannot be called more than once", 0) @@ -142,7 +143,7 @@ function Pronghorn:Import(paths: {Instance}) startWaits += 1 task.spawn(function() local running = true - task.delay(5, function() + task.delay(15, function() if running then warn(`{moduleTable.Object:GetFullName()}: Infinite yield possible in Deferred function`) end