From 9b6343d7065ff29a6bac674c29455cc464d8563c Mon Sep 17 00:00:00 2001 From: z411 Date: Fri, 26 Nov 2021 01:59:03 -0300 Subject: [PATCH] ToS: Change the subtitle to reflect a ToS update --- qcsrc/menu/xonotic/dialog_termsofservice.qc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/qcsrc/menu/xonotic/dialog_termsofservice.qc b/qcsrc/menu/xonotic/dialog_termsofservice.qc index c23cc2747..0c28fddf2 100644 --- a/qcsrc/menu/xonotic/dialog_termsofservice.qc +++ b/qcsrc/menu/xonotic/dialog_termsofservice.qc @@ -77,9 +77,15 @@ bool XonoticToSDialog_shouldShow() void XonoticToSDialog_fill(entity me) { entity e; + string subtitle; + + if (autocvar__termsofservice_accepted > 0) + subtitle = _("Terms of Service have been updated. Please read them before continuing:"); + else + subtitle = _("Welcome to Xonotic! Please read the following Terms of Service:"); me.TR(me); - me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Welcome to Xonotic! Please read the following Terms of Service"))); + me.TD(me, 1, 5, e = makeXonoticTextLabel(0, subtitle)); e.allowWrap = 1; me.TR(me); -- 2.39.2