Skip to content

Commit

Permalink
Fixes xenos ability to use corrosive acid after death (#6069)
Browse files Browse the repository at this point in the history
# About the pull request

Fixes #6066 

# Explain why it's good for the game

bug fix


# Changelog

:cl:
fix: xenos can no longer attempt to use corrosive acid after death
/:cl:

Co-authored-by: DOOM <N/A>
  • Loading branch information
vero5123 authored Apr 4, 2024
1 parent 149d4a0 commit 3e9066e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
//Corrosive acid is consolidated -- it checks for specific castes for strength now, but works identically to each other.
//The acid items are stored in XenoProcs.
/mob/living/carbon/xenomorph/proc/corrosive_acid(atom/O, acid_type, plasma_cost)
if(!check_state())
return
if(!O.Adjacent(src))
if(istype(O,/obj/item/explosive/plastic))
var/obj/item/explosive/plastic/E = O
Expand Down

0 comments on commit 3e9066e

Please sign in to comment.