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 37404b7a..b4b6f9df 100644 --- a/client/game.gd +++ b/client/game.gd @@ -248,7 +248,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[G.rem_euclid(player.character_style.color, Character.NUM_COLORS)] +					data.color = Character.COLORS[G.rem_euclid(player.character_style.color, Character.COLORS.size())]  					data.username = players[p.player].username  					data.text = p.message.text if "text" in p.message else get_message_str(p.message) | 
