Few Bugs Fixed

This commit is contained in:
Cooldude2606
2018-06-07 14:59:12 +01:00
parent 5a40fe6649
commit ef8345216a
11 changed files with 55 additions and 60 deletions

View File

@@ -37,7 +37,7 @@ if Sync.add_to_gui then
end
-- adds a discord emit for rank chaning
script.on_event('rank_change',function(event)
script.on_event('on_rank_change',function(event)
local rank = Ranking.get_rank(event.new_rank)
local player = Game.get_player(event)
local by_player_name = Game.get_player(event.by_player_index) or '<server>'