Fixes looping doors

fixes #1574

This is a fix i had originally done a while ago but ended up removing some code not realizing there was anywhere it was necessary, this just adds a timer to give the player time to move.