Skip to content

Commit

Permalink
Fix (ultra rare?) deleted blood glob victim runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
flappybatpal committed Dec 27, 2024
1 parent 854769d commit 0f323eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/antagonists/vampire/abilities/blood_steal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@
var/datum/abilityHolder/vampire/vampire = P.special_data["vamp"]
var/mob/living/victim = P.special_data["victim"]

if (QDELETED(victim))
return

if (vampire && victim)
if (vampire.can_bite(victim,is_pointblank = 0))
vampire.do_bite(victim, mult = 0.3333)
Expand Down

0 comments on commit 0f323eb

Please sign in to comment.