game: Merge code for handling military building updates