diff options
Diffstat (limited to 'client/game.gd')
-rw-r--r-- | client/game.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/game.gd b/client/game.gd index ec6a2228..a5c3242c 100644 --- a/client/game.gd +++ b/client/game.gd @@ -249,7 +249,7 @@ func handle_packet(p): if pinned: push_error("Pinned text messages are currently not supported") var player: Player = players[p.player] - data.color = Character.COLORS[player.character.ParsedStyle.new(player.character_idx).color] + data.color = Character.COLORS[G.rem_euclid(player.character_style.color, Character.NUM_COLORS)] data.username = players[p.player].username data.text = p.message.text if "text" in p.message else get_message_str(p.message) |