Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unmanned harddel #14007

Closed
wants to merge 4 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion code/modules/vehicles/unmanned/unmanned_vehicle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,13 @@
SSminimaps.add_marker(src, MINIMAP_FLAG_MARINE, image('icons/UI_icons/map_blips.dmi', null, "uav"))

/obj/vehicle/unmanned/Destroy()
. = ..()
GLOB.unmanned_vehicles -= src
QDEL_NULL(flash)
QDEL_NULL(in_chamber)
for(var/datum/atom_hud/squad/sentry_status_hud in GLOB.huds) //Add to the squad HUD
ivanmixo marked this conversation as resolved.
Show resolved Hide resolved
sentry_status_hud.remove_from_hud(src)
SSminimaps.remove_marker(src)
return ..()

/obj/vehicle/unmanned/obj_destruction()
robogibs(src)
Expand Down
Loading