Skip to content

Commit

Permalink
[MIRROR] [NO-GBP] Genetic sequencer scanning makeup now detects when …
Browse files Browse the repository at this point in the history
…targets moves out of range (#1543)

* [NO-GBP] Genetic sequencer scanning makeup now detects when targets moves out of range (#82092)

## About The Pull Request
Does what it says on the tin, adds a missing target argument in the
timer function
## Why It's Good For The Game
## Changelog
:cl:
fix: You can't complete a genetic makeup scan when the targets moves out
of target anymore using a genetic sequencer
/:cl:

* [NO-GBP] Genetic sequencer scanning makeup now detects when targets moves out of range

---------

Co-authored-by: Singul0 <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Mar 20, 2024
1 parent 9dbc5f4 commit a6e0284
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
//no scanning if its a husk, DNA-less Species or DNA that isn't able to be copied by a changeling/disease
if (!HAS_TRAIT(interacting_with, TRAIT_GENELESS) && !HAS_TRAIT(interacting_with, TRAIT_BADDNA) && !HAS_TRAIT(interacting_with, TRAIT_NO_DNA_COPY))
user.visible_message(span_warning("[user] is scanning [interacting_with]'s genetic makeup."))
if(!do_after(user, 3 SECONDS))
if(!do_after(user, 3 SECONDS, interacting_with))
balloon_alert(user, "scan failed!")
user.visible_message(span_warning("[user] fails to scan [interacting_with]'s genetic makeup."))
return ITEM_INTERACT_BLOCKING
Expand Down

0 comments on commit a6e0284

Please sign in to comment.