mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
default to blank paper if letterhead_type is not defined (#26584)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user