Skip to content

Commit

Permalink
Fixes inverted food check in chicken attackby.
Browse files Browse the repository at this point in the history
  • Loading branch information
MistakeNot4892 committed Jan 11, 2025
1 parent 16204d7 commit 604a011
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ var/global/chicken_count = 0
global.chicken_count -= 1

/mob/living/simple_animal/fowl/chicken/attackby(var/obj/item/O, var/mob/user)
if(istype(O, /obj/item/food))
if(!istype(O, /obj/item/food))
return ..()
var/obj/item/food/G = O //feedin' dem chickens
if(findtext(G.get_grown_tag(), "wheat")) // includes chopped, crushed, dried etc.
Expand Down

0 comments on commit 604a011

Please sign in to comment.