yohamta / donburi

Just another ECS library for Go/Ebitengine
https://pkg.go.dev/github.com/yohamta/donburi
Other
232 stars 21 forks source link

fix: Only draw initialized layers #117

Closed bradbeam closed 5 months ago

bradbeam commented 5 months ago

This fixes an issue where we'd attempt to call draw on a nil layer. I think this was only an issue around trying to ignore the Default layer.

yohamta commented 5 months ago

Thanks a lot for the improvement!