forked from woofmeow/straywild
Compare commits
1 commit
ea99f2b7d7
...
c64f42ad7d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c64f42ad7d |
1 changed files with 2 additions and 1 deletions
|
|
@ -894,7 +894,8 @@ func _send() -> void:
|
|||
if _send_pending:
|
||||
return
|
||||
var body := _entry.text
|
||||
if body.strip_edges().is_empty():
|
||||
var not_empty: = RegEx.create_from_string("\\w")
|
||||
if not_empty.search(body) == null:
|
||||
close_chat()
|
||||
return
|
||||
_send_pending = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue