message: Fix notification when great person is born outside of a city
diff: @@ -33,21 +33,14 @@ def assignGreatPersonName(unit, iPlayer, city, bAnnounceBirth = True):
  # Leoreth: display notification
  if bAnnounceBirth:
  if not player(iPlayer).isMinorCiv() and not player(iPlayer).isBarbarian():
  - pDisplayCity = city
  text_key = 'TXT_KEY_MISC_GP_BORN'
  - if not pDisplayCity:
  + if city.isNone():
  text_key = 'TXT_KEY_MISC_GP_BORN_OUTSIDE'
  - pDisplayCity = closestCity(unit)
  -
  - sCity = "%s (%s)" % (pDisplayCity.getName(), name(pDisplayCity))
  - sMessage = text("TXT_KEY_MISC_GP_BORN", unit.getName(), sCity)
  - sUnrevealedMessage = text("TXT_KEY_MISC_GP_BORN_SOMEWHERE", unit.getName())
  -
  - if city.isNone(): sMessage = text("TXT_KEY_MISC_GP_BORN_OUTSIDE", unit.getName(), sCity)
  + city = closestCity(unit)
  for iLoopPlayer in players.major().alive():
  if unit.plot().isRevealed(player(iLoopPlayer).getTeam(), False):
  - message(iLoopPlayer, text_key, unit.getName(), '%s (%s)' % (pDisplayCity.getName(), name(pDisplayCity)), event=InterfaceMessageTypes.MESSAGE_TYPE_MAJOR_EVENT, button=unit.getButton(), color=infos.type('COLOR_UNIT_TEXT'), location=unit)
  + message(iLoopPlayer, text_key, unit.getName(), '%s (%s)' % (city.getName(), name(city)), event=InterfaceMessageTypes.MESSAGE_TYPE_MAJOR_EVENT, button=unit.getButton(), color=infos.type('COLOR_UNIT_TEXT'), location=unit)
  else:
  message(iLoopPlayer, 'TXT_KEY_MISC_GP_BORN_SOMEWHERE', unit.getName(), event=InterfaceMessageTypes.MESSAGE_TYPE_MAJOR_EVENT, color=infos.type('COLOR_UNIT_TEXT'))
  