]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix not being able to use vehicle horns (#19966)
authorDrSmugleaf <DrSmugleaf@users.noreply.github.com>
Sat, 9 Sep 2023 23:39:29 +0000 (16:39 -0700)
committerGitHub <noreply@github.com>
Sat, 9 Sep 2023 23:39:29 +0000 (16:39 -0700)
Content.Shared/Vehicle/Components/VehicleComponent.cs

index 2874a0d2d1c29993df37ae9ed32f37d1a6e3f99c..509581cc32aed1e5cf4199cfb19b9274214662f9 100644 (file)
@@ -50,7 +50,7 @@ public sealed partial class VehicleComponent : Component
     /// Use ambient sound component for the idle sound.
 
     [DataField("hornAction", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
-    public string? HornAction;
+    public string? HornAction = "ActionVehicleHorn";
 
     /// <summary>
     /// The action for the horn (if any)