Fixes all antags getting "Delta Alert" achievement upon greentext

This commit is contained in:
Gary Lafortune
2020-01-16 20:50:00 -06:00
parent fe11b78dae
commit 0358b9f654
2 changed files with 6 additions and 2 deletions

View File

@@ -92,6 +92,6 @@ SUBSYSTEM_DEF(achievements)
/datum/controller/subsystem/achievements/proc/get_achievement(achievementPath)
for(var/datum/achievement/i in achievements)
if(istype(i, achievementPath))
if(i.type == achievementPath) // Can't use istype() here since it needs to be the EXACT correct type.
return i
return FALSE