Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Assign a default value to ClickDamageModifier (space-wizards#19871)
Browse files Browse the repository at this point in the history
  • Loading branch information
arimah authored and rbertoche committed Sep 16, 2023
1 parent 46a7fcd commit ed110c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Weapons/Melee/MeleeWeaponComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public sealed partial class MeleeWeaponComponent : Component
/// Multiplies damage by this amount for single-target attacks.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("clickDamageModifier")]
public FixedPoint2 ClickDamageModifier;
public FixedPoint2 ClickDamageModifier = FixedPoint2.New(1);

// TODO: Temporarily 1.5 until interactionoutline is adjusted to use melee, then probably drop to 1.2
/// <summary>
Expand Down

0 comments on commit ed110c6

Please sign in to comment.