Skip to content

Commit

Permalink
Makes Jaunters react anywhere in your inmediate inventory (same as bi…
Browse files Browse the repository at this point in the history
…trunning disks) (#4709)

* Initial Commit

* Apply suggestions from code review

---------

Co-authored-by: Bloop <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Dec 25, 2024
1 parent a8297b2 commit cdd82a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/datums/components/chasm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@
return CHASM_REGISTER_SIGNALS
if(ishuman(dropped_thing))
var/mob/living/carbon/human/victim = dropped_thing
if(istype(victim.belt, /obj/item/wormhole_jaunter))
var/obj/item/wormhole_jaunter/jaunter = victim.belt
var/obj/item/wormhole_jaunter/jaunter = locate() in victim.get_contents() // NOVA EDIT ADDITION
if (jaunter) // NOVA EDIT CHANGE - ORIGINAL: if(istype(victim.belt, /obj/item/wormhole_jaunter))
//var/obj/item/wormhole_jaunter/jaunter = victim.belt // NOVA EDIT REMOVAL
var/turf/chasm = get_turf(victim)
var/fall_into_chasm = jaunter.chasm_react(victim)
if(!fall_into_chasm)
Expand Down

0 comments on commit cdd82a6

Please sign in to comment.