Fixed wire door status, it did not update

The wire status for all door outputs (open_X) did not update because of a wrong var.