They'll be fine. I've left the room lights on while flowering after grabbing shit out of the grow room when its 12 off for hours at a time throughout flowering and it doesn't really affect bud production or plant life quality. Just relax and remember that it's called weed for a reason. It'll grow unless you kill it.