Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Fixed emission sound not playing properly when script updated things
Browse files Browse the repository at this point in the history
  • Loading branch information
Causeless committed Nov 5, 2023
1 parent 1697b88 commit fa850cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Entities/AEmitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ ClassInfoGetters;
// Return value: None.

void Update() override;
void PostUpdate() override { m_WasEmitting = m_EmitEnabled; Attachable::PostUpdate(); }
void PostUpdate() override { Attachable::PostUpdate(); }


//////////////////////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion Entities/PEmitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ class PEmitter : public MOSParticle {
// Return value: None.

void Update() override;
void PostUpdate() override { m_WasEmitting = m_EmitEnabled; MOSParticle::PostUpdate(); }
void PostUpdate() override { MOSParticle::PostUpdate(); }


//////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit fa850cb

Please sign in to comment.