Skip to content

Commit e4302c2

Browse files
committed
Changed level of SF.throw for quota exceeded
1 parent e8a6415 commit e4302c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/starfall/instance.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function SF.Instance:runWithOps ( func, ... )
8686

8787
if testStatistic > criticalValue or average > 1.4 * SF.cpuQuota:GetFloat() then
8888
debug.sethook( nil )
89-
SF.throw( "CPU Quota Exceeded!", 0, true )
89+
SF.throw( "CPU Quota Exceeded!", 2, true )
9090
end
9191

9292
oldSysTime = SysTime()

0 commit comments

Comments
 (0)