Merge branch 'pandorabox' of github.com:pandorabox-io/technic into pandorabox

This commit is contained in:
Thomas Rudin 2019-04-12 21:03:07 +02:00
commit 5e8c450f0a
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ minetest.register_globalstep(function(dtime)
quota_map = {}
-- this many blocks per second
local init_quota = minetest.settings:get("technic.quarry.quota") or 10
local init_quota = minetest.settings:get("technic.quarry.quota") or 5
local players = minetest.get_connected_players()
for i, player in pairs(players) do

View File

@ -251,7 +251,7 @@ minetest.register_chatcommand("powerctrl", {
local check_timer = function(pos, meta, diff)
if diff > 500000 then
minetest.log("warning", "[technic] disabling switching station @ " .. minetest.pos_to_string(pos))
meta:set_int("overload", 30)
meta:set_int("overload", 300)
meta:set_int("active", 0)
meta:set_string("infotext", "Overload detected!")
end