diff --git a/mods/chatplus/api.lua b/mods/chatplus/api.lua index d9cd91e..ea25546 100644 --- a/mods/chatplus/api.lua +++ b/mods/chatplus/api.lua @@ -200,7 +200,7 @@ function chatplus.send(from, msg) -- Send message if res == nil or res == true then - minetest.chat_send_player(key, "<" .. from .. "> " .. msg) + minetest.chat_send_player(to, "<" .. from .. "> " .. msg) end end end diff --git a/mods/ctf_stats/gui.lua b/mods/ctf_stats/gui.lua index 4e7a033..d2345b7 100644 --- a/mods/ctf_stats/gui.lua +++ b/mods/ctf_stats/gui.lua @@ -25,8 +25,6 @@ local function calc_scores(players) local kd = pstat.kills if pstat.deaths > 0 then kd = kd / pstat.deaths - elseif kd > 30 then - kd = 30 end --[[local killbonus = 0 if pstat.kills > 50 and pstat.kills < 200 then