From 28c79f08d5867de54f79b1da31e68a12e90d5663 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Wed, 19 Jul 2017 20:48:58 +0100 Subject: [PATCH] Fixed Large Bug --- locale/ExpGaming-Core/ExpGaming - Rank Control.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/locale/ExpGaming-Core/ExpGaming - Rank Control.lua b/locale/ExpGaming-Core/ExpGaming - Rank Control.lua index 6790326b..fe1b517c 100644 --- a/locale/ExpGaming-Core/ExpGaming - Rank Control.lua +++ b/locale/ExpGaming-Core/ExpGaming - Rank Control.lua @@ -111,6 +111,7 @@ function find_new_rank(player) --gives player new rank if availble if highest_rank.name == 'Guest' then player.permission_group=game.permissions.get_group('Guest') + script.raise_event(Event.rank_change, {player=player, by_player='system', new_rank=string_to_rank('Guest'), old_rank=string_to_rank('Guest')}) else give_rank(player,highest_rank) end