Skip to content

Commit

Permalink
more harddels please! (shiptest-ss13#3640)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
Cleans up 3 potentially harddel causing references, specifically
-particle_holders deployed when a mob is bleeding or obj is burning
-snake in my boot

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game
WAITER WAITER
<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
fix: cleans up 3 potentially sticky refs
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

---------

Signed-off-by: Sun-Soaked <[email protected]>
Co-authored-by: Mark Suckerberg <[email protected]>
  • Loading branch information
Sun-Soaked and MarkSuckerberg authored Oct 26, 2024
1 parent a0867d0 commit 83af887
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/game/objects/objs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@
if(!ismachinery(src))
STOP_PROCESSING(SSobj, src) // TODO: Have a processing bitflag to reduce on unnecessary loops through the processing lists
SStgui.close_uis(src)
. = ..()
if(burning_particles)
QDEL_NULL(burning_particles)
return ..()


/obj/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0, datum/callback/callback, force, gentle = FALSE, quickstart = TRUE)
Expand Down
3 changes: 3 additions & 0 deletions code/modules/clothing/shoes/miscellaneous.dm
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@
var/mob/living/simple_animal/hostile/retaliate/poison/snake/bootsnake = new/mob/living/simple_animal/hostile/retaliate/poison/snake(src)
occupants += bootsnake

/obj/item/clothing/shoes/cowboy/Destroy()
QDEL_LIST(occupants)
return ..()

/obj/item/clothing/shoes/cowboy/equipped(mob/living/carbon/user, slot)
. = ..()
Expand Down
2 changes: 2 additions & 0 deletions code/modules/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
QDEL_NULL(physiology)
QDEL_LIST(bioware)
GLOB.human_list -= src
if(blood_particle)
QDEL_NULL(blood_particle)
return ..()


Expand Down

0 comments on commit 83af887

Please sign in to comment.