Remove is_connected() and use minetest counterpart

This commit is contained in:
mazes 80
2022-09-16 04:26:26 +02:00
parent a56116e8ab
commit 31462ab08e
2 changed files with 3 additions and 12 deletions

View File

@ -212,4 +212,4 @@ local function handle_effect(player_data)
end
climate_api.register_effect(EFFECT_NAME, handle_effect, "tick")
climate_api.set_effect_cycle(EFFECT_NAME, CYCLE_LENGTH)
climate_api.set_effect_cycle(EFFECT_NAME, CYCLE_LENGTH)