From 9b86d89c942f0565312435f71533f81afd15b0cf Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Fri, 2 Mar 2018 23:03:37 +0100 Subject: [PATCH] dirty fix for #1994 see why i hate the code? --- qcsrc/common/mutators/mutator/damagetext/ui_damagetext.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/mutators/mutator/damagetext/ui_damagetext.qc b/qcsrc/common/mutators/mutator/damagetext/ui_damagetext.qc index 78834ce63..26972682a 100644 --- a/qcsrc/common/mutators/mutator/damagetext/ui_damagetext.qc +++ b/qcsrc/common/mutators/mutator/damagetext/ui_damagetext.qc @@ -29,7 +29,8 @@ CLASS(XonoticDamageTextSettings, XonoticTab) this.TR(this); this.TD(this, 1, 1, e = makeXonoticTextLabel(0, _("Accumulate range:"))); setDependent(e, "cl_damagetext", 1, 1); - this.TD(this, 1, 2, e = makeXonoticSlider(0, 500, 1, "cl_damagetext_accumulate_range")); + // 1 as min because shotgun sends damagetext per pellet (see https://gitlab.com/xonotic/xonotic-data.pk3dir/issues/1994) + this.TD(this, 1, 2, e = makeXonoticSlider(1, 500, 1, "cl_damagetext_accumulate_range")); setDependent(e, "cl_damagetext", 1, 1); this.TR(this); this.TD(this, 1, 1, e = makeXonoticTextLabel(0, _("Lifetime:"))); -- 2.39.2