]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
ToS WIP: Improved log messages for now
authorz411 <z411@omaera.org>
Wed, 24 Nov 2021 16:45:20 +0000 (13:45 -0300)
committerz411 <z411@omaera.org>
Wed, 24 Nov 2021 16:45:20 +0000 (13:45 -0300)
qcsrc/menu/xonotic/dialog_termsofservice.qc
qcsrc/menu/xonotic/util.qc

index c0375b224d7ac929f2e7f8d73c954fd37f7f7f6b..0abfd7d932ecd6de80197386dafa342fa4834760 100644 (file)
@@ -10,7 +10,7 @@
 
 void Close_Clicked(entity btn, entity me)
 {
-       LOG_INFO("Setting _termsofservice_accepted cvar to ", _Nex_ExtResponseSystem_NewToS);
+       LOG_INFO("Accepted ToS version ", _Nex_ExtResponseSystem_NewToS);
     cvar_set("_termsofservice_accepted", _Nex_ExtResponseSystem_NewToS);
     localcmd("saveconfig");
     if (main.firstRunDialog.shouldShow())
index b6d35044707db120b7e498e2732d9da06701e68e..c41687b9c8523aaaf51396573cc1c4a649a94edf 100644 (file)
@@ -441,7 +441,7 @@ void UpdateNotification_URI_Get_Callback(float id, float status, string data)
        if(un_tosversion != "")
        {
                _Nex_ExtResponseSystem_NewToS = strzone(un_tosversion);
-               LOG_INFO("Setting netwos value to ", un_tosversion);
+               LOG_INFO("Latest ToS version is ", un_tosversion);
        }
 
        if(un_bannedservers != "")