d2dat encoder: removed typo in comment

This commit is contained in:
gucio321 2021-02-10 13:03:59 +01:00 committed by GitHub
parent b74bc3d0b6
commit 6c230f66d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func Load(data []byte) (d2interface.Palette, error) {
return palette, nil
}
// Marshal encodes data palettte back into byte slice
// Marshal encodes data palette back into byte slice
func (p *DATPalette) Marshal() []byte {
result := make([]byte, len(p.colors))