use publicized in qsbwalltext

This commit is contained in:
Mister_Nebula 2021-10-29 23:00:30 +01:00
parent 256830e557
commit 68db89d94b

View File

@ -1,5 +1,4 @@
using OWML.Utils;
using QSB.WorldSync;
using QSB.WorldSync;
using System.Collections.Generic;
using System.Linq;
@ -25,7 +24,7 @@ namespace QSB.TranslationSync.WorldObjects
public IEnumerable<int> GetTranslatedIds()
{
var dict = AttachedObject.GetValue<Dictionary<int, OWTreeNode<NomaiTextLine>>>("_idToNodeDict");
var dict = AttachedObject._idToNodeDict;
return dict.Keys.Where(key => AttachedObject.IsTranslated(key));
}
}