mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Fxied guest remaining after tag clear
This commit is contained in:
@@ -155,6 +155,7 @@ function find_new_rank(player)
|
||||
if highest_rank.name == string_to_rank_group('User').lowest_rank.name then
|
||||
-- to avoid spam in chat
|
||||
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, {player=player, by_player='server', new_rank=string_to_rank_group('User').lowest_rank, old_rank=string_to_rank_group('User').lowest_rank})
|
||||
else
|
||||
|
||||
@@ -189,7 +189,7 @@ local ranks = {
|
||||
|
||||
{name='Guest',
|
||||
short_hand='',
|
||||
tag='[Guest]',
|
||||
tag='',
|
||||
time=nil,
|
||||
colour={r=255,g=159,b=27},
|
||||
group='User',
|
||||
|
||||
Reference in New Issue
Block a user