From 71ddd59e022d0ac42e6da2a3e85ccd977e034ba0 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sat, 21 Oct 2017 20:22:05 +0100 Subject: [PATCH] No rank change on auto rank to guest --- locale/ExpGaming-Core/ExpGaming - Rank Control.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/locale/ExpGaming-Core/ExpGaming - Rank Control.lua b/locale/ExpGaming-Core/ExpGaming - Rank Control.lua index a6b63d8d..2a9e3a96 100644 --- a/locale/ExpGaming-Core/ExpGaming - Rank Control.lua +++ b/locale/ExpGaming-Core/ExpGaming - Rank Control.lua @@ -150,7 +150,6 @@ function ranking.find_new_rank(player,tick) debug_write({'RANK','NEW-RANK','GIVE','VIA-SERVER'},player.name..' '..highest_rank.name) player.tag = highest_rank.tag player.permission_group=game.permissions.get_group('Guest') - script.raise_event(Event.rank_change, {tick=tick, player=player, by_player='server', new_rank=ranking.string_to_rank_group('User').lowest_rank, old_rank=ranking.string_to_rank_group('User').lowest_rank}) else debug_write({'RANK','NEW-RANK','GIVE','VIA-GIVE-RANK'},player.name..' '..highest_rank.name) if highest_rank ~= current_rank then ranking.give_rank(player,highest_rank,nil,tick) end