Wenting ghost or getting mob deleted with throw mode on now making mouse pointer default (#21423)

* throw mode disables on ghostise or destroy the mob

* Update code/modules/mob/living/carbon/carbon.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

---------

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
HMBGERDO
2023-06-29 22:00:50 -05:00
committed by GitHub
co-authored by Luc
parent d67b841e05
commit cf75945df7
+7
View File
@@ -15,6 +15,13 @@
QDEL_LIST_CONTENTS(stomach_contents)
QDEL_LIST_CONTENTS(processing_patches)
GLOB.carbon_list -= src
if(in_throw_mode)
toggle_throw_mode()
return ..()
/mob/living/carbon/ghostize(can_reenter_corpse)
if(in_throw_mode)
toggle_throw_mode()
return ..()
/mob/living/carbon/handle_atom_del(atom/A)