dninemfive / wn-mfw

WARNO mod framework.
MIT License
0 stars 0 forks source link

Generic `copy_descriptor` method #17

Open dninemfive opened 1 month ago

dninemfive commented 1 month ago

Many descriptors have a DescriptorId field which should be a unique GUID. When copied, this should ideally be updated; right now this is handled as needed, but doing it in a central place (perhaps a method on ModCreationContext or its GuidManager) would reduce reused code and prevent errors.