diff options
Diffstat (limited to 'source/game/StarPlantDrop.cpp')
-rw-r--r-- | source/game/StarPlantDrop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarPlantDrop.cpp b/source/game/StarPlantDrop.cpp index ab351ba..1fc085f 100644 --- a/source/game/StarPlantDrop.cpp +++ b/source/game/StarPlantDrop.cpp @@ -279,8 +279,8 @@ void PlantDrop::particleForPlantPart(PlantDropPiece const& piece, String const& particle = Root::singleton().particleDatabase()->particle(config); particle.color.hueShift(mainConfig.getFloat("hueshift", 0) / 360.0f); - if (!particle.string.empty()) - particle.string += AssetPath::getDirectives(piece.image); + for (Directives const& directives : piece.image.directives.list()) + particle.directives.append(directives); density--; |