When using the getDoorIdFromEntity export, it was providing no value back unless it was assigned to a local variable first, This change appears to resolve that,
also because the getDoorFromEntity function returns a door table the returned value needs to be door.id not door.doorid
When using the getDoorIdFromEntity export, it was providing no value back unless it was assigned to a local variable first, This change appears to resolve that,
also because the getDoorFromEntity function returns a door table the returned value needs to be door.id not door.doorid