Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions code/modules/mob/living/carbon/human/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,6 @@ GLOBAL_LIST_EMPTY(mentor_races)
ToggleFlight(H)
flyslip(H)
. = stunmod * H.physiology.stun_mod * amount
stop_wagging_tail(H)

//////////////
//Space Move//
Expand All @@ -1990,7 +1989,7 @@ GLOBAL_LIST_EMPTY(mentor_races)
////////////////

/datum/species/proc/can_wag_tail(mob/living/carbon/human/H)
if(H.IsParalyzed() || H.IsStun())
if(H.IsParalyzed())
return FALSE
return (H.getorganslot(ORGAN_SLOT_TAIL))

Expand Down
1 change: 1 addition & 0 deletions code/modules/mob/living/carbon/human/status_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

/mob/living/carbon/human/Paralyze(amount, updating = TRUE, ignore_canstun = FALSE)
amount = dna.species.spec_stun(src, amount)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
amount = dna.species.spec_stun(src, amount)
if(!dna || !dna.species)
return ..()
amount = dna.species.spec_stun(src, amount)

Add a check to make sure dna and dna.species aren't null

dna.species.stop_wagging_tail(src)
return ..()

/mob/living/carbon/human/Immobilize(amount, updating = TRUE, ignore_canstun = FALSE)
Expand Down