Fixes simple_mob ID giving system

This commit is contained in:
Heroman3003
2023-04-15 08:37:26 +10:00
committed by CHOMPStation2
parent b8a9f86017
commit 71c7d84701
3 changed files with 26 additions and 18 deletions

View File

@@ -69,7 +69,7 @@ var/list/ventcrawl_machinery = list(
return 1
if(isanimal(src))
var/mob/living/simple_mob/S = src
if(carried_item == S.mobcard) //VOREStation Edit
if(carried_item == S.myid) //VOREStation Edit
return 1 //VOREStation Edit
//Try to find it in our allowed list (istype includes subtypes)
var/listed = FALSE