dismiss debug output

master
ademant 2019-02-04 14:47:06 +01:00
parent 8506e1a418
commit 44d8abcd3e
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ minetest.register_on_dieplayer(function(player,reason)
if reason == nil then if reason == nil then
reas_meas=guess_reason(player) reas_meas=guess_reason(player)
else else
print(dump2(reason)) -- print(dump2(reason))
if reason.type ~= nil then if reason.type ~= nil then
if (reason.type == "fall") or (reason.type == "punch") or (reason.type == "drawn") then if (reason.type == "fall") or (reason.type == "punch") or (reason.type == "drawn") then
reas_mean = reason.type reas_mean = reason.type