From 1e89db7ae231c4af6b1e7ef355da15178e990100 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 4 Dec 2015 11:16:33 +0000 Subject: [PATCH] Correct typo --- mods/ctf_stats/gui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ctf_stats/gui.lua b/mods/ctf_stats/gui.lua index e015f51..e189661 100644 --- a/mods/ctf_stats/gui.lua +++ b/mods/ctf_stats/gui.lua @@ -16,7 +16,7 @@ function ctf_stats.get_formspec_match_summary(stats) end function ctf_stats.get_formspec(title, players) - for i = 1 in #players do + for i = 1, #players do local pstat = players[i] pstat.kills = pstat.kills or 0 pstat.deaths = pstat.deaths or 0 @@ -36,7 +36,7 @@ function ctf_stats.get_formspec(title, players) ret = ret .. "table[0.5,0;8.25,6;scores;" ret = ret .. "#ffffff,,username,kills,deaths,K/D ratio,captures,attempts,score" - for i = 1 in #players do + for i = 1, #players do local pstat = players[i] local color = pstat.color or "#ffffff" ret = ret ..