From f1fa1e231f64a123ec30deac28e13f2e84c6e4a5 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Thu, 14 Sep 2017 18:00:43 +0100 Subject: [PATCH] Small error --- locale/ExpGaming-Core/ExpGaming - Rank Control.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/ExpGaming-Core/ExpGaming - Rank Control.lua b/locale/ExpGaming-Core/ExpGaming - Rank Control.lua index 70717d0a..683f3233 100644 --- a/locale/ExpGaming-Core/ExpGaming - Rank Control.lua +++ b/locale/ExpGaming-Core/ExpGaming - Rank Control.lua @@ -106,7 +106,7 @@ function find_new_rank(player) end -- to reduce lag if the player is already higher than any time rank then it does not cheak -- also there play time must be higher than the lowest required for a rank - if current_rank.power > global.ranks.highest_timed_rank.power and player.online_time >= global.ranks.lowest_time_for_rank.time then + if current_rank.power > global.ranks.highest_timed_rank.power and player.online_time >= global.ranks.lowest_timed_rank.time then --Loop through rank times for _,rank in pairs(get_ranks()) do if rank.time and tick_to_min(player.online_time) >= rank.time then table.insert(possible_ranks,string_to_rank(rank)) end