anchor.diff:  
   procedure TKMExceptions.DoException(const ExceptIntf: IMEException; var Handled: boolean);
   var LogMessage, CrashFile: string;
  +    settingsSavePath: string;
   begin
     if gLog = nil then Exit; //Could crash very early before even the log file is created
   
  
positive.code: implementation
  uses
    SysUtils,
    KM_Game,
    KM_Log, KM_ResTexts, KM_Defaults, KM_Points,
    KM_CommonExceptions;
  
negative.code:   if gLog <> nil then ExceptIntf.AdditionalAttachments.Add(gLog.LogPath, '', CrashFile);
  
    //Do settings here not in fGame because we could crash before fGame is created
    settingsSavePath := GetDocumentsSavePath;
    if FileExists(settingsSavePath + SETTINGS_FILE) then
      ExceptIntf.AdditionalAttachments.Add(settingsSavePath + SETTINGS_FILE, '', CrashFile);
  
    if FileExists(settingsSavePath + SERVER_SETTINGS_FILE) then
      ExceptIntf.AdditionalAttachments.Add(settingsSavePath + SERVER_SETTINGS_FILE, '', CrashFile);
  end;
  
  
  