diff --git a/mdl/generate.ts b/mdl/generate.ts index fb0f0d8..8da483e 100644 --- a/mdl/generate.ts +++ b/mdl/generate.ts @@ -773,7 +773,7 @@ function generateRibbonEmitterChunk (ribbonEmitter: RibbonEmitter): string { generateIntPropIfNotEmpty('Gravity', ribbonEmitter.Gravity, 0) + generateIntProp('Rows', ribbonEmitter.Rows) + generateIntProp('Columns', ribbonEmitter.Columns) + - generateIntPropIfNotEmpty('MaterialID', ribbonEmitter.MaterialID, undefined) + + generateIntProp('MaterialID', ribbonEmitter.MaterialID) + generateBlockEnd(); } diff --git a/package.json b/package.json index 3d721ce..d96c44f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "war3-model", - "version": "3.1.1", + "version": "3.1.2", "description": "Warcraft 3 model parser, generator, convertor and previewer", "keywords": [ "warcraft3",