Fixes Fixes Fixes
parent
492dad1e07
commit
569b4ffbd7
|
@ -27,8 +27,11 @@ minetest.register_globalstep(function(dtime)
|
|||
|
||||
local dropint = main.current_mode.mode.drop_interval
|
||||
local online_players = #minetest.get_connected_players()
|
||||
local playercount_reduction = (online_players * 5)
|
||||
|
||||
if dropint and dropstep >= dropint - (online_players * 2) and online_players >= 1 then
|
||||
if playercount_reduction > 15 then playercount_reduction = 15 end
|
||||
|
||||
if dropint and dropstep >= dropint - playercount_reduction and online_players >= 1 then
|
||||
dropstep = 0
|
||||
|
||||
main.spawn_rand_drop()
|
||||
|
|
|
@ -145,7 +145,7 @@ function maps.save_map(pname, mname, creator, skybox, modes)
|
|||
|
||||
if r then
|
||||
minetest.set_player_privs(pname, editors[pname].privs)
|
||||
player:get_inventory():remove_item("main", "superpick:pick")
|
||||
minetest.get_player_by_name(pname):get_inventory():remove_item("main", "superpick:pick")
|
||||
|
||||
return true, "Saved map!"
|
||||
end
|
||||
|
|
|
@ -20,7 +20,7 @@ for name, def in pairs(minetest.registered_nodes) do
|
|||
newdef.damage_per_second = 100
|
||||
end
|
||||
|
||||
if name:find("source") then
|
||||
if name:find("source") or name:find("flowing") then
|
||||
newdef.liquid_range = 0
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue