diff --git a/d2common/d2fileformats/d2dat/dat_palette.go b/d2common/d2fileformats/d2dat/dat_palette.go index c03e7ea0..120b444f 100644 --- a/d2common/d2fileformats/d2dat/dat_palette.go +++ b/d2common/d2fileformats/d2dat/dat_palette.go @@ -15,6 +15,7 @@ type DATPalette struct { colors [numColors]d2interface.Color } +// New creates a new dat palette func New() *DATPalette { result := &DATPalette{} for i := range result.colors {