mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41: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
|
if highest_rank.name == string_to_rank_group('User').lowest_rank.name then
|
||||||
-- to avoid spam in chat
|
-- to avoid spam in chat
|
||||||
debug_write({'RANK','NEW-RANK','GIVE','VIA-SERVER'},player.name..' '..highest_rank.name)
|
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')
|
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})
|
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
|
else
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ local ranks = {
|
|||||||
|
|
||||||
{name='Guest',
|
{name='Guest',
|
||||||
short_hand='',
|
short_hand='',
|
||||||
tag='[Guest]',
|
tag='',
|
||||||
time=nil,
|
time=nil,
|
||||||
colour={r=255,g=159,b=27},
|
colour={r=255,g=159,b=27},
|
||||||
group='User',
|
group='User',
|
||||||
|
|||||||
Reference in New Issue
Block a user