X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_settings_user.qc;h=5e5b707faed5fd4d216b23a1348693d7bc2e712d;hb=4f9c21104983e2e05373f15dac3dd0d00a0acbfe;hp=fc6521c4d2b9a7bd03e9b567ceecb9dd6f9247d2;hpb=d271f27a5ac351a3a7b39636932f6d661492be1d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/dialog_settings_user.qc b/qcsrc/menu/xonotic/dialog_settings_user.qc index fc6521c4d..5e5b707fa 100644 --- a/qcsrc/menu/xonotic/dialog_settings_user.qc +++ b/qcsrc/menu/xonotic/dialog_settings_user.qc @@ -17,8 +17,6 @@ entity makeXonoticUserSettingsTab() void XonoticUserSettingsTab_fill(entity me) { entity e, sk; - entity userApplyButton = makeXonoticCommandButton(_("Apply immediately"), '0 0 0', "sendcvar cl_gentle;", COMMANDBUTTON_APPLY); - userApplyButton.disableOnClick = true; me.TR(me); me.TDempty(me, 0.25); @@ -72,10 +70,6 @@ void XonoticUserSettingsTab_fill(entity me) me.gotoRC(me, 11.5, 3.25); me.setFirstColumn(me, me.currentColumn); me.TD(me, 1, 2.5, e = makeXonoticCheckBox_T(0, "cl_gentle", _("Disable gore effects and harsh language"), - _("Replace blood and gibs with content that does not have any gore effects (default: disabled)"))); - e.applyButton = userApplyButton; - - me.gotoRC(me, me.rows - 1, 0); - me.TD(me, 1, 6, userApplyButton); - + _("Replace blood and gibs with content that does not have any gore effects"))); + e.sendCvars = true; }