fixes #2679 RA war factory closes the door prematurely