Profectus / game/layers / persistentRefs
Variable: persistentRefs ​
constpersistentRefs:Record<string,Set<Persistent>> ={}
When creating layers, this object a map of layer ID to a set of any created persistent refs in order to check they're all included in the final layer object.