Further CallTechName() tweak

This commit is contained in:
Daranz
2016-03-09 16:39:36 +01:00
committed by Neerti
parent baf49d0c23
commit 9837c098eb

View File

@@ -124,7 +124,7 @@ research holder datum.
// A simple helper proc to find the name of a tech with a given ID.
/proc/CallTechName(var/ID)
for(var/T in typesof(/datum/tech))
for(var/T in subtypesof(/datum/tech))
var/datum/tech/check_tech = T
if(initial(check_tech.id) == ID)
return initial(check_tech.name)