diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-26 16:09:40 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-26 16:09:40 +1000 |
commit | d5d474c673ff15cdefb1ce057b072688dd639acf (patch) | |
tree | bd36dcba495d4059206820141645f8f3638a4df0 /source/game/StarPlantDrop.cpp | |
parent | ec9a138e1acb648b7eb1da44e081553a1586185b (diff) |
Fix particles finally
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--; |