From 4df785d0d79a30306f928e2acbbb8d02ee3f1951 Mon Sep 17 00:00:00 2001 From: Eddoursul Date: Tue, 24 Oct 2023 20:45:35 +0200 Subject: [PATCH] Temporarily disabled same cell ref check --- ESMify_Plugins.pas | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ESMify_Plugins.pas b/ESMify_Plugins.pas index 563c734..4ca446b 100644 --- a/ESMify_Plugins.pas +++ b/ESMify_Plugins.pas @@ -1,5 +1,5 @@ { - ESMify Plugins 1.0 + Skyrim ESMifier 1.0 by Eddoursul https://eddoursul.win For proper overriding of temporary records, "Always save ONAM" must be enabled in xEdit. @@ -54,11 +54,12 @@ begin if GetLoadOrder(GetFile(referencingRecord)) <= GetLoadOrder(GetFile(rec)) then begin // When referencing record is not referenced and it's in the same cell, the ref does not need persistence. - if (ReferencedByCount(referencingRecord) = 0) then begin - if (sig = 'REFR') then begin - if InSameCell(rec, referencingRecord) then continue; - end; - end; + // Not always true, needs investigating. + //if (ReferencedByCount(referencingRecord) = 0) then begin + // if (sig = 'REFR') then begin + // if InSameCell(rec, referencingRecord) then continue; + // end; + //end; // Refs referencing themselves do not require the flag if not SameRecord(rec, referencingRecord) then begin