mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
Fix flaky runtime related to ghoul limbs (#3776)
## About The Pull Request Ghoul limbs drop meat instead of the limb when they come off and they do that by `qdel`ing in `drop_limb` but if `drop_limb` was originally called as part of `Destroy` they'll qdel twice and you can't do that and it runtimes ## Why It's Good For The Game Fix flaky CI failure ## Proof Of Testing Trust ## Changelog N/A
This commit is contained in:
@@ -105,7 +105,8 @@
|
||||
|
||||
. = newMeat // Return MEAT
|
||||
|
||||
qdel(src)
|
||||
if(!QDELETED(src))
|
||||
qdel(src)
|
||||
|
||||
/obj/item/bodypart/arm/left/mutant/ghoul/drop_limb(special, dismembered, move_to_floor = TRUE)
|
||||
..() // Create Meat, Remove Limb
|
||||
@@ -116,7 +117,8 @@
|
||||
|
||||
. = newMeat // Return MEAT
|
||||
|
||||
qdel(src)
|
||||
if(!QDELETED(src))
|
||||
qdel(src)
|
||||
|
||||
/obj/item/bodypart/leg/right/mutant/ghoul/drop_limb(special, dismembered, move_to_floor = TRUE)
|
||||
..() // Create Meat, Remove Limb
|
||||
@@ -127,7 +129,8 @@
|
||||
|
||||
. = newMeat // Return MEAT
|
||||
|
||||
qdel(src)
|
||||
if(!QDELETED(src))
|
||||
qdel(src)
|
||||
|
||||
/obj/item/bodypart/leg/left/mutant/ghoul/drop_limb(special, dismembered, move_to_floor = TRUE)
|
||||
..() // Create Meat, Remove Limb
|
||||
@@ -138,7 +141,8 @@
|
||||
|
||||
. = newMeat // Return MEAT
|
||||
|
||||
qdel(src)
|
||||
if(!QDELETED(src))
|
||||
qdel(src)
|
||||
|
||||
#undef GHOUL_BRUTE_MODIFIER
|
||||
#undef GHOUL_BURN_MODIFIER
|
||||
|
||||
Reference in New Issue
Block a user