Всякие твики (#467)
* tomato juice no longer slippery * flashbang rework * add starting gear support for flashbang rework * flash size and charges tweak * night and thermal vision tweaks * night vision is turned off by default * some size tweaks * cleanup * sunglasses and hardsuits tweak
This commit is contained in:
@@ -48,7 +48,11 @@ public abstract class SharedNightVisionSystem : EntitySystem
|
||||
return;
|
||||
|
||||
component.IsActive = !component.IsActive;
|
||||
_audio.PlayPredicted(component.ToggleSound, uid, uid);
|
||||
|
||||
if (component.IsActive && component.ActivateSound != null)
|
||||
_audio.PlayPredicted(component.ActivateSound, uid, uid);
|
||||
else if (component.DeactivateSound != null)
|
||||
_audio.PlayPredicted(component.DeactivateSound, uid, uid);
|
||||
|
||||
args.Handled = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user