if the tardis has not travel yet still allow exiting the tardis.

Not suree if this is the right way to do this can you check it.