Skip to content

Commit

Permalink
NamingFix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alwayswannahunt committed Jan 11, 2025
1 parent 75d9ae7 commit f5594f9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Content.Server/Telephone/TelephoneSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public override void Initialize()
SubscribeLocalEvent<TelephoneComponent, ListenEvent>(OnListen);
SubscribeLocalEvent<TelephoneComponent, TelephoneMessageReceivedEvent>(OnTelephoneMessageReceived);

Subs.CVar(_configManager, CCVars220Performance.LessSoundSources, value => _lessSound = value, true); // SS220 performance-test
Subs.CVar(_configManager, CCVars220.LessSoundSources, value => _lessSound = value, true); // SS220 performance-test
}

#region: Events
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Movement/Systems/MovementSoundSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public override void Initialize()
base.Initialize();
SubscribeLocalEvent<MovementSoundComponent, MoveInputEvent>(OnMoveInput);

Subs.CVar(_configManager, CCVars220Performance.LessSoundSources, value => _lessSound = value, true); // SS220 performance-test
Subs.CVar(_configManager, CCVars220.LessSoundSources, value => _lessSound = value, true); // SS220 performance-test
}

private void OnMoveInput(Entity<MovementSoundComponent> ent, ref MoveInputEvent args)
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Movement/Systems/SharedMoverController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public override void Initialize()
InitializeRelay();
Subs.CVar(_configManager, CCVars.RelativeMovement, value => _relativeMovement = value, true);
Subs.CVar(_configManager, CCVars.StopSpeed, value => _stopSpeed = value, true);
Subs.CVar(_configManager, CCVars220Performance.LessSoundSources, value => _lessSound = value, true); // SS220 performance-test
Subs.CVar(_configManager, CCVars220.LessSoundSources, value => _lessSound = value, true); // SS220 performance-test
UpdatesBefore.Add(typeof(TileFrictionController));
}

Expand Down
3 changes: 1 addition & 2 deletions Content.Shared/SS220/CCVars/CCVars.Performance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

namespace Content.Shared.SS220.CCVars;

[CVarDefs]
public sealed class CCVars220Performance
public sealed partial class CCVars220
{
/// <summary>
/// Cvar which turns off most of player generatish sounds like steps, telephones and etc. Do not affect TTS.
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/SS220/CCVars/CCVars220.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Content.Shared.SS220.CCVars;

[CVarDefs]
public sealed class CCVars220
public sealed partial class CCVars220
{
/// <summary>
/// Whether is bloom lighting eanbled or not
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Sound/SharedEmitSoundSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public override void Initialize()

SubscribeLocalEvent<SoundWhileAliveComponent, MobStateChangedEvent>(OnMobState);

Subs.CVar(_configManager, CCVars220Performance.LessSoundSources, value => _lessSound = value, true); // SS220 performance-test
Subs.CVar(_configManager, CCVars220.LessSoundSources, value => _lessSound = value, true); // SS220 performance-test
}

private void HandleEmitSoundOnUIOpen(EntityUid uid, EmitSoundOnUIOpenComponent component, AfterActivatableUIOpenEvent args)
Expand Down

0 comments on commit f5594f9

Please sign in to comment.