Skip to content

Commit

Permalink
Update dropship_equipment.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatethisengine committed Jun 27, 2023
1 parent 05c2c58 commit af94c57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/cm_marines/dropship_equipment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@
QDEL_NULL(deployed_turret.linked_cam)

/obj/structure/dropship_equipment/sentry_holder/Destroy()
QDEL_NULL(deployed_turret.linked_cam)
if(deployed_turret)
QDEL_NULL(deployed_turret.linked_cam)
. = ..()


Expand Down

0 comments on commit af94c57

Please sign in to comment.