diff --git a/code/modules/modular_computers/NTNet/NTNet.dm b/code/modules/modular_computers/NTNet/NTNet.dm index 498bd206b7f..b80668361b8 100644 --- a/code/modules/modular_computers/NTNet/NTNet.dm +++ b/code/modules/modular_computers/NTNet/NTNet.dm @@ -85,7 +85,7 @@ var/global/datum/ntnet/ntnet_global = new() for(var/F in typesof(/datum/computer_file/program)) var/datum/computer_file/program/prog = new F // Invalid type (shouldn't be possible but just in case), invalid filetype (not executable program) or invalid filename (unset program) - if(!prog || !istype(prog) || prog.filename == "UnknownProgram" || prog.filetype != "PRG") + if(!prog || prog.filename == "UnknownProgram" || prog.filetype != "PRG") continue // Check whether the program should be available for station/antag download, if yes, add it to lists. if(prog.available_on_ntnet)