ultimate-research / ssbh_lib

Reading and writing SSBH file formats in Rust
MIT License
8 stars 3 forks source link

Prevent being able to assign different versioned attributes per matl entry #109

Closed ScanMountGoat closed 2 years ago

ScanMountGoat commented 2 years ago

The versioned enum needs to cover the entire matl and not just the attributes. The current implementation allows for creating an invalid file by specifying a version 1.5 attribute for one entry and a version 1.6 attribute for another entry in the same matl.