default to blank paper if letterhead_type is not defined (#26584)

This commit is contained in:
chuga-git
2024-08-24 01:51:24 +00:00
committed by GitHub
parent f0c88dbe4e
commit 53e343462e
+1 -1
View File
@@ -73,7 +73,7 @@
P = papers[length(papers)]
papers.Remove(P)
else
var/choice = tgui_alert(user, "Choose a style", "Paperbin", list("Letterhead", "Blank", "Cancel"))
var/choice = letterhead_type ? tgui_alert(user, "Choose a style", "Paperbin", list("Letterhead", "Blank", "Cancel")) : "Blank"
if(isnull(choice) || !Adjacent(user))
return
switch(choice)