mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Fixed Auto rank again
This commit is contained in:
@@ -113,7 +113,7 @@ function find_new_rank(player)
|
|||||||
player.permission_group=game.permissions.get_group('Guest')
|
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')})
|
script.raise_event(Event.rank_change, {player=player, by_player='system', new_rank=string_to_rank('Guest'), old_rank=string_to_rank('Guest')})
|
||||||
else
|
else
|
||||||
give_rank(player,highest_rank)
|
if highest_rank ~= current_rank then give_rank(player,highest_rank) end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
--lose ends
|
--lose ends
|
||||||
|
|||||||
Reference in New Issue
Block a user