mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-26 01:30:29 +01:00
[item_drop] Up ticking rate to 0.25s
This commit is contained in:
parent
d3ac2e64b1
commit
62902e8ff6
@ -19,7 +19,7 @@ local pickup_duration = 0.2
|
|||||||
local pickup_inv_duration = 1/pickup_duration-0.2
|
local pickup_inv_duration = 1/pickup_duration-0.2
|
||||||
|
|
||||||
local function tick()
|
local function tick()
|
||||||
minetest.after(0.2, tick)
|
minetest.after(0.25, tick)
|
||||||
local tstamp = minetest.get_us_time()
|
local tstamp = minetest.get_us_time()
|
||||||
for _,player in ipairs(minetest.get_connected_players()) do
|
for _,player in ipairs(minetest.get_connected_players()) do
|
||||||
if player:get_hp() > 0 or not enable_damage then
|
if player:get_hp() > 0 or not enable_damage then
|
||||||
|
Loading…
Reference in New Issue
Block a user