Skip to content

Commit

Permalink
Update machinery.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
hex37 authored Jul 18, 2023
1 parent bb72f17 commit 01d0798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/machinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ Class Procs:
return

/obj/machinery/proc/eject_material_of_type(var/incoming_material) //Used for autolathe, protolathe, mechfab, exofab. Stuff that takes materials, basically.
if(!LAZYACCESS(materials[incoming_material]))
if(!LAZYLEN(materials[incoming_material]))
return
var/datum/material/M = get_material_by_name(incoming_material)
if(!istype(M))
Expand Down

0 comments on commit 01d0798

Please sign in to comment.