Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jithatsonei committed Mar 27, 2024
1 parent d8baef0 commit a299ff5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mod/Jailbreak.Warden/Global/WardenBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public HookResult OnPlayerDisconnect(EventPlayerDisconnect ev, GameEventInfo inf

foreach (CCSPlayerController player in Utilities.GetPlayers()) {
player.ExecuteClientCommand(
$"play {_config.WardenPassedSoundName}");
$"play sounds/{_config.WardenPassedSoundName}");
}

_notifications.BECOME_NEXT_WARDEN.ToAllChat();
Expand Down
6 changes: 3 additions & 3 deletions mod/Jailbreak.Warden/WardenConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace Jailbreak.Warden;

public class WardenConfig
{
public string WardenKilledSoundName { get; set; } = "wardenKilled";
public string WardenPassedSoundName { get; set; } = "wardenPassed";
public string WardenNewSoundName { get; set; } = "wardenNew";
public string WardenKilledSoundName { get; } = "wardenKilled";
public string WardenPassedSoundName { get; } = "wardenPassed";
public string WardenNewSoundName { get; } = "wardenNew";
}

0 comments on commit a299ff5

Please sign in to comment.