should be if door_d:is_closed()
because is_open() won't be true immediately (the door is in state "opening" for a fraction of second), so we don't want the sound to be played several times.