aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-fx/src/smoke.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-14 18:29:08 +0300
committerValentin Popov <valentin@popov.link>2026-11-14 18:29:08 +0300
commit5fee115996fdbb9235e96289c74c6b8f0244ebd6 (patch)
tree0859322f1035c1661fc12feb572e7016746d0eb4 /crates/fparkan-fx/src/smoke.rs
parenta24f98ec17ae4a0713062fb2718f7b6399fcd518 (diff)
downloadfparkan-5fee115996fdbb9235e96289c74c6b8f0244ebd6.tar.xz
fparkan-5fee115996fdbb9235e96289c74c6b8f0244ebd6.zip
fix(fx): keep damage effects dormant on intact objects
Diffstat (limited to 'crates/fparkan-fx/src/smoke.rs')
-rw-r--r--crates/fparkan-fx/src/smoke.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/fparkan-fx/src/smoke.rs b/crates/fparkan-fx/src/smoke.rs
index 116dcb77..1cc06567 100644
--- a/crates/fparkan-fx/src/smoke.rs
+++ b/crates/fparkan-fx/src/smoke.rs
@@ -115,7 +115,7 @@ impl SmokeEmitterState {
}
/// Resets the three streams and the native pool state.
- fn reset(&mut self) {
+ pub fn reset(&mut self) {
self.emitter_rng = self.initial_emitter_rng;
self.signed_rng = self.initial_signed_rng;
self.material_rng = self.initial_material_rng;