bordello/Scripts/chat.gd

6 lines
136 B
GDScript3
Raw Permalink Normal View History

extends RichTextLabel
@rpc("any_peer", "call_local")
func add_line(username, message):
text += "[" + username + "] " + message + "\n"