Skip to content

Commit

Permalink
fix volume level in sfx triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Folleach committed Dec 25, 2023
1 parent 9dfe3a2 commit 2733ee9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class EditSfxTrigger : Trigger
[GameProperty("404", 0)]
public int Speed { get; set; }

[GameProperty("406", 1f)]
[GameProperty("406", 1f, alwaysSet: true)]
public float Volume { get; set; } = 1f;

[GameProperty("414", false)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class EditSongTrigger : Trigger
[GameProperty("404", 0)]
public int Speed { get; set; }

[GameProperty("406", 1f)]
[GameProperty("406", 1f, alwaysSet: true)]
public float Volume { get; set; } = 1f;

[GameProperty("414", false)]
Expand Down
4 changes: 2 additions & 2 deletions GeometryDashAPI/Levels/GameObjects/Triggers/SfxTrigger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public class SfxTrigger : Trigger
[GameProperty("405", 0)]
public int Pitch { get; set; }

[GameProperty("406", 1f)]
public float Volume { get; set; }
[GameProperty("406", 1f, alwaysSet: true)]
public float Volume { get; set; } = 1f;

[GameProperty("407", false)]
public bool Reverb { get; set; }
Expand Down

0 comments on commit 2733ee9

Please sign in to comment.