diff --git a/src/shapes/DuctFan.hx b/src/shapes/DuctFan.hx index b1ab2627..a49cbf45 100644 --- a/src/shapes/DuctFan.hx +++ b/src/shapes/DuctFan.hx @@ -38,8 +38,8 @@ class DuctFan extends ForceObject { }); } - public override function update(timeState:src.TimeState) { - super.update(timeState); + public override function reset() { + super.reset(); var seffect = this.soundChannel.getEffect(Spatialization); seffect.position = this.getAbsPos().getPosition(); diff --git a/src/shapes/SmallDuctFan.hx b/src/shapes/SmallDuctFan.hx index 901382a3..11b1bea1 100644 --- a/src/shapes/SmallDuctFan.hx +++ b/src/shapes/SmallDuctFan.hx @@ -38,8 +38,8 @@ class SmallDuctFan extends ForceObject { }); } - public override function update(timeState:src.TimeState) { - super.update(timeState); + public override function reset() { + super.reset(); var seffect = this.soundChannel.getEffect(Spatialization); seffect.position = this.getAbsPos().getPosition(); diff --git a/src/shapes/Tornado.hx b/src/shapes/Tornado.hx index 67a8a260..0f0cf22d 100644 --- a/src/shapes/Tornado.hx +++ b/src/shapes/Tornado.hx @@ -59,8 +59,8 @@ class Tornado extends ForceObject { }); } - public override function update(timeState:src.TimeState) { - super.update(timeState); + public override function reset() { + super.reset(); var seffect = this.soundChannel.getEffect(Spatialization); seffect.position = this.getAbsPos().getPosition();