Skip to content

Commit

Permalink
default to blank paper if letterhead_type is not defined (ParadiseSS1…
Browse files Browse the repository at this point in the history
  • Loading branch information
chuga-git authored Aug 24, 2024
1 parent f0c88db commit 53e3434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/paperwork/paperbin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 53e3434

Please sign in to comment.