Skip to content

Commit

Permalink
lets be safe
Browse files Browse the repository at this point in the history
no nullspaced objects.
  • Loading branch information
DeltaFire15 committed Dec 30, 2024
1 parent 4f4e8cb commit 6fff888
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nsv13/code/modules/munitions/muni_pointer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ GLOBAL_LIST_EMPTY(critical_muni_items)
for(var/obj/critical_item as anything in GLOB.critical_muni_items)
if(critical_item.get_overmap() != current_overmap)
continue
if(isnull(critical_item.loc))
continue
var/prefix = ""
if(istype(critical_item, /obj/item/circuitboard))
var/obj/item/circuitboard/critical_circuit = critical_item
Expand Down

0 comments on commit 6fff888

Please sign in to comment.