aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--init.lua2
-rw-r--r--overrides.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 708230a..a091174 100644
--- a/init.lua
+++ b/init.lua
@@ -6,7 +6,7 @@ mesecons_debug = {
-- playername => true
hud = {},
- max_usage_micros = 20000
+ max_usage_micros = 10000
}
dofile(MP.."/privs.lua")
diff --git a/overrides.lua b/overrides.lua
index 5670e12..3a9108b 100644
--- a/overrides.lua
+++ b/overrides.lua
@@ -55,7 +55,7 @@ minetest.register_globalstep(function(dtime)
ctx.avg_micros = math.floor((ctx.avg_micros * 0.9) + (ctx.micros * 0.1))
ctx.micros = 0
if ctx.avg_micros > mesecons_debug.max_usage_micros then
- ctx.penalty = math.min(ctx.penalty + 0.1, 10)
+ ctx.penalty = math.min(ctx.penalty + 0.1, 20)
elseif ctx.penalty > 0 then
ctx.penalty = math.max(ctx.penalty - 0.01, 0)
end