Skip to content

Commit

Permalink
Attempt to fix droppod harddels. (#274)
Browse files Browse the repository at this point in the history
* Update droppod.dm

* Update droppod.dm

* Update droppod.dm
  • Loading branch information
Helg2 authored Sep 12, 2024
1 parent 841b709 commit f50000a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions code/game/objects/structures/droppod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ GLOBAL_LIST_INIT(blocked_droppod_tiles, typecacheof(list(/turf/open/space/transi
ejectee.forceMove(loc)
QDEL_NULL(reserved_area)
QDEL_LIST(interaction_actions)
if(drop_state == DROPPOD_READY)
GLOB.droppod_list -= src
GLOB.droppod_list -= src
return ..()


Expand Down Expand Up @@ -376,6 +375,8 @@ GLOBAL_LIST_INIT(blocked_droppod_tiles, typecacheof(list(/turf/open/space/transi

/obj/structure/droppod/nonmob/Destroy()
unload_package()
if(stored_object)
QDEL_NULL(stored_object)
return ..()

/obj/structure/droppod/nonmob/update_icon_state()
Expand Down Expand Up @@ -605,3 +606,6 @@ GLOBAL_LIST_INIT(blocked_droppod_tiles, typecacheof(list(/turf/open/space/transi

/obj/structure/drop_pod_launcher/leader
pod_type = /obj/structure/droppod/leader

#undef DROPPOD_TRANSIT_TIME
#undef LEADER_POD_DISPERSION

0 comments on commit f50000a

Please sign in to comment.