Skip to content

Commit

Permalink
Fix: Infinite Carbon Copies (#3866)
Browse files Browse the repository at this point in the history
# About the pull request
Infinite paper is fun until you start to set fire to it.
<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

# Explain why it's good for the game
Bugsssssssss (well, more of an oversight)
# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: Carbon copies can no longer infinitely breed.
/:cl:
  • Loading branch information
realforest2001 committed Jul 14, 2023
1 parent 41b8a16 commit 623767e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/paperwork/carbonpaper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
set category = "Object"
set src in usr

if (copied == 0)
if (!copied && !iscopy)
var/obj/item/paper/carbon/c = src
var/copycontents = html_decode(c.info)
var/obj/item/paper/carbon/copy = new /obj/item/paper/carbon (usr.loc)
Expand Down

0 comments on commit 623767e

Please sign in to comment.