Skip to content

Commit

Permalink
Changed level of SF.throw for quota exceeded
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazzelhawk committed Jul 27, 2016
1 parent e8a6415 commit e4302c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/starfall/instance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e4302c2

Please sign in to comment.