Skip to content

Commit

Permalink
living to target
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoonij authored Sep 19, 2024
1 parent ce1bd23 commit 6563d31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/components/devour.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
var/mob/mob/carbon/gourmet = parent

Check failure on line 62 in code/datums/components/devour.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined type: /mob/mob/carbon
target.extinguish_light()
target.forceMove(gourmet)
LAZYADD(gourmet.stomach_contents, living)
ADD_TRAIT(trait, TRAIT_DEVOURED, UNIQUE_TRAIT_SOURCE(src))
LAZYADD(gourmet.stomach_contents, target)

Check warning on line 65 in code/datums/components/devour.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "stomach_contents"

Check warning on line 65 in code/datums/components/devour.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "stomach_contents"

Check warning on line 65 in code/datums/components/devour.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "stomach_contents"
ADD_TRAIT(target, TRAIT_DEVOURED, UNIQUE_TRAIT_SOURCE(src))

/datum/component/devour/proc/check_types(atom/movable/atom)
if(allowed_types && !is_type_in_list(atom, allowed_types))
Expand Down

0 comments on commit 6563d31

Please sign in to comment.