Commit a285ae94 authored by nanahira's avatar nanahira

fix

parent 872ba929
...@@ -2525,7 +2525,7 @@ ygopro.stoc_follow 'CHAT', true, (buffer, info, client, server)-> ...@@ -2525,7 +2525,7 @@ ygopro.stoc_follow 'CHAT', true, (buffer, info, client, server)->
for player in room.players when player and player.pos == pid for player in room.players when player and player.pos == pid
tplayer = player tplayer = player
return unless tplayer return unless tplayer
tcolor = chat_color.save_list[if settings.modules.mycard.enabled then tplayer.name else tplayer.ip] tcolor = chat_color.save_list[CLIENT_get_authorize_key(tplayer)]
if tcolor if tcolor
ygopro.stoc_send client, 'CHAT', { ygopro.stoc_send client, 'CHAT', {
player: ygopro.constants.COLORS[tcolor] player: ygopro.constants.COLORS[tcolor]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment