Skip to content

Commit

Permalink
fix paper initialize params missing mapload
Browse files Browse the repository at this point in the history
  • Loading branch information
Spookerton committed Dec 8, 2024
1 parent 0d27818 commit 0fe1b22
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions code/modules/paperwork/paper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@
var/is_copy = TRUE


/obj/item/paper/Initialize(text, title, list/metadata, datum/language/language)
/obj/item/paper/Initialize(mapload, text, title, list/metadata, datum/language/language)
. = ..()
set_content(text ? text : info, title)
src.metadata = metadata
if (text)
set_content(text, title)
if (metadata)
src.metadata = metadata
if (language)
src.language = language
if (!set_language(src.language, TRUE))
Expand Down

0 comments on commit 0fe1b22

Please sign in to comment.