Skip to content

Commit

Permalink
fixes retrieve fulton objective
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Aug 21, 2024
1 parent 73f6430 commit 81de3c3
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions code/modules/objectives/retrieve_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
/area/almayer/medical/medical_science,
)

/datum/cm_objective/retrieve_item/New(T)
..()
if(T)
target_item = T
/datum/cm_objective/retrieve_item/New(atom/target)
. = ..()
if(target)
target_item = target
initial_area = get_area(target_item)
RegisterSignal(target_item, COMSIG_PARENT_PREQDELETED, PROC_REF(clean_up_ref))

Expand Down Expand Up @@ -74,7 +74,7 @@
qdel(src)
return

/datum/cm_objective/retrieve_item/fulton/New()
/datum/cm_objective/retrieve_item/fulton/New(atom/target)
. = ..()
GLOB.failed_fultons += target_item
activate()
Expand All @@ -93,10 +93,6 @@

return clue

/datum/cm_objective/retrieve_item/fulton/complete()
..()


// -----------------------------------------------------------
// *** Documents and data disks after they have been read ***
// -----------------------------------------------------------
Expand Down

0 comments on commit 81de3c3

Please sign in to comment.