]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
restore friendly fire checkbox
authorMartin Taibr <taibr.martin@gmail.com>
Fri, 8 Mar 2019 20:18:17 +0000 (21:18 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Fri, 8 Mar 2019 20:18:17 +0000 (21:18 +0100)
qcsrc/common/mutators/mutator/damagetext/ui_damagetext.qc

index e85228e33bec4c61084656792e4f9311675415ab..1a00d15462c80b1aa2b0d0b798a82cc7e6518765 100644 (file)
@@ -32,5 +32,8 @@ CLASS(XonoticDamageTextSettings, XonoticTab)
             this.TD(this, 2, 2, e = makeXonoticColorpickerString("cl_damagetext_color", "cl_damagetext_color"));
                 setDependent(e, "cl_damagetext", 1, 1);
         this.TR(this);
+        this.TR(this);
+            this.TD(this, 1, 3, e = makeXonoticCheckBox(0, "cl_damagetext_friendlyfire", _("Draw damage numbers for friendly fire")));
+                setDependent(e, "cl_damagetext", 1, 1);
     }
 ENDCLASS(XonoticDamageTextSettings)