prime31 / Nez

Nez is a free 2D focused framework that works with MonoGame and FNA
MIT License
1.76k stars 357 forks source link

Initialize UserData Property for AsepriteSlice #798

Closed AristurtleDev closed 2 months ago

AristurtleDev commented 2 months ago

Description

This resolves an issue when reading an AsepriteSlice that has user data. Currently the UserData property is not initialized in the AseprietSlice constructor, which makes it null during the read process.

This change ensures the UserData property is initialized in the constructor for the AsperiteSlice class.