Skip to content

Commit 0b3a567

Browse files
Fix < 1 character draw
1 parent 5354d5d commit 0b3a567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/network/events/draw.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const handler: NetworkEventHandler = async (socket, payload: [number, number, st
3232
return
3333
}
3434

35-
if (char.length > 1) {
35+
if (char.length !== 1) {
3636
sendEvent<string>(socket, ERROR_EVENT, "You may only draw one character at a time")
3737

3838
return

0 commit comments

Comments
 (0)