From e4302c25bced23d9ade2b7ce2d9c499eab26d4e3 Mon Sep 17 00:00:00 2001 From: Matthew Banning Date: Wed, 27 Jul 2016 23:58:45 +0100 Subject: [PATCH] Changed level of SF.throw for quota exceeded --- lua/starfall/instance.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/starfall/instance.lua b/lua/starfall/instance.lua index 9c787fc0..0f688dbd 100644 --- a/lua/starfall/instance.lua +++ b/lua/starfall/instance.lua @@ -86,7 +86,7 @@ function SF.Instance:runWithOps ( func, ... ) if testStatistic > criticalValue or average > 1.4 * SF.cpuQuota:GetFloat() then debug.sethook( nil ) - SF.throw( "CPU Quota Exceeded!", 0, true ) + SF.throw( "CPU Quota Exceeded!", 2, true ) end oldSysTime = SysTime()