@@ -134,10 +134,7 @@ public abstract class SharedItemToggleSystem : EntitySystem
|
|||||||
_light.SetEnabled(uid, true, light);
|
_light.SetEnabled(uid, true, light);
|
||||||
}
|
}
|
||||||
|
|
||||||
SoundSpecifier? soundToPlay = itemToggle.SoundActivate;
|
var soundToPlay = itemToggle.SoundActivate;
|
||||||
|
|
||||||
if (soundToPlay == null)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (predicted)
|
if (predicted)
|
||||||
_audio.PlayPredicted(soundToPlay, uid, user);
|
_audio.PlayPredicted(soundToPlay, uid, user);
|
||||||
|
|||||||
Reference in New Issue
Block a user