mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-31 00:49:06 +01:00
Human Hard Del Fix (#21884)
This PR fixes the Hard Del() caused by deleting any /mob/living/carbon/human. For once I've actually sat down and tested a hard del PR, so here's the proof that the problem is solved: <img width="1305" height="411" alt="image" src="https://github.com/user-attachments/assets/d11d7e14-e349-4a33-b154-0821c27154a4" />
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
|
||||
/mob/Destroy()//This makes sure that mobs with clients/keys are not just deleted from the game.
|
||||
MOB_STOP_THINKING(src)
|
||||
|
||||
// Tell any mobs touching us that they're not pulling us anymore.
|
||||
stop_pulling()
|
||||
// Delete and null the grab objects that are touching this mob.
|
||||
QDEL_LIST(grabbed_by)
|
||||
GLOB.mob_list -= src
|
||||
GLOB.dead_mob_list -= src
|
||||
GLOB.living_mob_list -= src
|
||||
|
||||
Reference in New Issue
Block a user