1
0
mirror of https://github.com/Earu/EasyChat.git synced 2025-03-04 03:13:20 -05:00

richnick here

This commit is contained in:
Earu 2022-07-03 20:46:38 +02:00
parent 66f052a635
commit 8ac9c8ebac

View File

@ -220,7 +220,7 @@ function ec_markup.CachePlayer(id, ply, callback)
sub_cache = player_cache[id]
end
local nick, team_color = EasyChat.NativeNick(ply), team.GetColor(ply:Team())
local nick, team_color = ply:RichNick(), team.GetColor(ply:Team())
local cache = sub_cache[ply]
if cache and cache.Nick == nick and cache.TeamColor == team_color then
return cache.Markup