private void OnMapLoaded(Map map) { try { DoLater.OnMapLoaded(map); for (int i = 0; i < childMods.Count; i++) { try { childMods[i].MapLoaded(map); } catch (Exception e) { Logger.ReportException(e, childMods[i].LogIdentifierSafe); } } // show update news dialog UpdateFeatures.TryShowDialog(false); } catch (Exception e) { Logger.ReportException(e); } }
private void OnMapLoaded(Map map) { try { DoLater.OnMapLoaded(map); for (int i = 0; i < childMods.Count; i++) { try { childMods[i].MapLoaded(map); } catch (Exception e) { Logger.ReportException(e, childMods[i].ModIdentifier); } } // show update news dialog if (updateNewsSetting.Value) { UpdateFeatures.TryShowDialog(); } } catch (Exception e) { Logger.ReportException(e); } }