ajuste de tempo para minutos

master
BrunoMine 2015-02-21 19:42:24 -02:00
parent 42644a580b
commit 3a96c57dae
1 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,8 @@ minetest.register_node("brazutec:cub_fechado", {
meta:set_string("dono", clicker:get_player_name())
meta:set_int("tempo_bateria", 0)
local tempo = minetest.get_node_timer(pos)
tempo:start(brazutec_computador_tempo_para_descarregar)
local tempo_para_descarregar = brazutec_computador_tempo_para_descarregar*60
tempo:start(tempo_para_descarregar)
end
end,
can_dig = function(pos, player)