Skip to content

Commit

Permalink
вот это я даун
Browse files Browse the repository at this point in the history
  • Loading branch information
lzk228 authored Dec 26, 2024
1 parent 73d8fce commit 5e70863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Telephone/TelephoneSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ private void OnTelephoneMessageReceived(Entity<TelephoneComponent> entity, ref T
// If speaker entity has TTS, the telephone will speak with the same voice
if(TryComp<TTSComponent>(args.MessageSource, out var ttsSpeaker))
{
_entManager.EnsureComponent<TTSComponent>(entity, out var ttsTelephone)
ttsTelephone.VoicePrototypeId = ttsSpeaker.VoicePrototypeId
_entManager.EnsureComponent<TTSComponent>(entity, out var ttsTelephone);

Check failure on line 117 in Content.Server/Telephone/TelephoneSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

The name '_entManager' does not exist in the current context

Check failure on line 117 in Content.Server/Telephone/TelephoneSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

The name '_entManager' does not exist in the current context

Check failure on line 117 in Content.Server/Telephone/TelephoneSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The name '_entManager' does not exist in the current context

Check failure on line 117 in Content.Server/Telephone/TelephoneSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The name '_entManager' does not exist in the current context

Check failure on line 117 in Content.Server/Telephone/TelephoneSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The name '_entManager' does not exist in the current context

Check failure on line 117 in Content.Server/Telephone/TelephoneSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The name '_entManager' does not exist in the current context

Check failure on line 117 in Content.Server/Telephone/TelephoneSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The name '_entManager' does not exist in the current context

Check failure on line 117 in Content.Server/Telephone/TelephoneSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The name '_entManager' does not exist in the current context
ttsTelephone.VoicePrototypeId = ttsSpeaker.VoicePrototypeId;
}
else // Remove TTS if the speaker has no TTS
{
Expand Down

0 comments on commit 5e70863

Please sign in to comment.