anchor.diff:    gScriptEvents.Load(LoadStream);
     fIDCache.Load(LoadStream);
   
  -  if fScriptCode <> '' then
  +  // Do not compile script code, if not needed, same as we do in LoadFromFile procedure
  +  if IsScriptCodeNeedToCompile then
       CompileScript;
   
     LoadStream.CheckMarker('ScriptVars');
  
positive.code: end;
  
  
  procedure TKMScripting.LoadFromFile(const aFileName, aCampaignDataTypeFile: UnicodeString; aCampaignData: TKMemoryStream);
  begin
    RecreateValidationIssues;
  
    if not fPreProcessor.PreProcessFile(aFileName, fScriptCode) then
      Exit; // Continue only if PreProcess was successful;
  
    //Parse console commands procedures
    if gScriptEvents.HasConsoleCommands then
  
negative.code:         //Something is wrong, show an error
          //todo: Sender.MakeError reports the wrong line number so the user has no idea what the error is
          Sender.MakeError(PROCS[I].Names, ecTypeMismatch, '');
          Exit(False);
        end;
  end;
  
  