diff --git a/internal/project/project.go b/internal/project/project.go index 6b2a6ed..49db49d 100644 --- a/internal/project/project.go +++ b/internal/project/project.go @@ -233,7 +233,11 @@ func (p *Project) SourceDir() string { } func (p *Project) AssetsDir() string { - return filepath.Join(p.Root, p.Config.Paths.Assets) + assets := strings.TrimSpace(p.Config.Paths.Assets) + if assets == "" { + return "" + } + return filepath.Join(p.Root, assets) } func (p *Project) BuildDir() string { diff --git a/nwn-tool b/nwn-tool index 000513e..f039fb0 100755 Binary files a/nwn-tool and b/nwn-tool differ