More refactoring

Refactoring the mob setCityID.