Misc state handling changes (#9265)

* misc state handling changes

* ambient dirtying
This commit is contained in:
Leon Friedrich
2022-06-29 15:11:09 +12:00
committed by GitHub
parent 9064360fbc
commit 8df89bd055
8 changed files with 16 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ namespace Content.Shared.Audio
ambience.Enabled == value) return;
ambience.Enabled = value;
ambience.Dirty();
Dirty(ambience);
}
private void HandleCompState(EntityUid uid, AmbientSoundComponent component, ref ComponentHandleState args)