Remove Debug Chat
parent
cb734e191e
commit
1fee02cf32
3
init.lua
3
init.lua
|
@ -11,10 +11,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
local privs = minetest.get_player_privs(name)
|
local privs = minetest.get_player_privs(name)
|
||||||
local old_breath = player:get_attribute("old_breath") or 11
|
local old_breath = player:get_attribute("old_breath") or 11
|
||||||
local sprint_time = player:get_attribute("sprint_time") or 0
|
local sprint_time = player:get_attribute("sprint_time") or 0
|
||||||
|
|
||||||
minetest.chat_send_player(name, tostring(name) .. "\n" .. tostring(old_breath) .. "\n" .. tostring(sprint_time))
|
|
||||||
|
|
||||||
|
|
||||||
if player:get_player_control()["aux1"] and player:get_player_control()["up"] and privs.fast then
|
if player:get_player_control()["aux1"] and player:get_player_control()["up"] and privs.fast then
|
||||||
sprint_time = sprint_time + timer
|
sprint_time = sprint_time + timer
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue