From: Rudolf Polzer Date: Tue, 13 Jun 2023 14:52:08 +0000 (-0400) Subject: Add to menu. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=493fa310a887cf6074c8b44e27540fc8270ff769;p=xonotic%2Fxonotic-data.pk3dir.git Add to menu. --- diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc index 29a5c2f87..2cf7be136 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc @@ -162,6 +162,10 @@ void XonoticMutatorsDialog_fill(entity me) me.TR(me); me.TDempty(me, 0.4); me.TD(me, 1, 1.6, s); + me.TR(me); + me.TDempty(me, 0.2); + me.TD(me, 1, 1.8, e = makeXonoticCheckBox_T(0, "g_killers_spawn_faster", _("Killers spawn faster"), + _("Respawn faster after killing, and slower after dying"))); me.TR(me); me.TD(me, 1, 2, makeXonoticTextLabel(0, _("Weapon & item mutators:"))); me.TR(me); diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qh b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qh index 48ccc6b48..f988c405d 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qh +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qh @@ -9,7 +9,7 @@ CLASS(XonoticMutatorsDialog, XonoticDialog) ATTRIB(XonoticMutatorsDialog, title, string, _("Mutators")); ATTRIB(XonoticMutatorsDialog, color, vector, SKINCOLOR_DIALOG_MUTATORS); ATTRIB(XonoticMutatorsDialog, intendedWidth, float, 0.9); - ATTRIB(XonoticMutatorsDialog, rows, float, 20); + ATTRIB(XonoticMutatorsDialog, rows, float, 21); ATTRIB(XonoticMutatorsDialog, columns, float, 6); ATTRIB(XonoticMutatorsDialog, refilterEntity, entity); ENDCLASS(XonoticMutatorsDialog)