Diffstat (limited to 'Chat.gd')
-rw-r--r--Chat.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/Chat.gd b/Chat.gd
index 1981288..407e045 100644
--- a/Chat.gd
+++ b/Chat.gd
@@ -49,6 +49,8 @@ func reg(src: String) -> RegEx:
func _on_Main_recieved(data):
var string = "[b]%s[color=#f0e67e]:[/color][/b] %s" % [data.who, data.text]
+ if !OS.is_window_focused():
+ OS.request_attention()
add_label(string)