default tgui alert input handling (#16241)

* default handling

* do not push that

* fix

* .

* .
This commit is contained in:
Kashargul
2024-09-01 20:27:26 +02:00
committed by GitHub
parent 6d0077890c
commit 2f19f66cc5
99 changed files with 248 additions and 173 deletions
+1 -1
View File
@@ -136,7 +136,7 @@
if(length_char(t) >= MUSIC_MAXLINES * MUSIC_MAXLINECHARS)
var/cont = tgui_alert(usr, "Your message is too long! Would you like to continue editing it?", "Too long!", list("Yes", "No"))
if(cont == "No")
if(cont != "Yes")
break
while(length_char(t) > MUSIC_MAXLINES * MUSIC_MAXLINECHARS)
ParseSong(t)