From 86023db7ef3a5f13e741df1c50fb5dee7ed2599c Mon Sep 17 00:00:00 2001 From: z411 Date: Wed, 24 Nov 2021 13:45:20 -0300 Subject: [PATCH] ToS WIP: Improved log messages for now --- qcsrc/menu/xonotic/dialog_termsofservice.qc | 2 +- qcsrc/menu/xonotic/util.qc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/menu/xonotic/dialog_termsofservice.qc b/qcsrc/menu/xonotic/dialog_termsofservice.qc index c0375b224..0abfd7d93 100644 --- a/qcsrc/menu/xonotic/dialog_termsofservice.qc +++ b/qcsrc/menu/xonotic/dialog_termsofservice.qc @@ -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()) diff --git a/qcsrc/menu/xonotic/util.qc b/qcsrc/menu/xonotic/util.qc index b6d350447..c41687b9c 100644 --- a/qcsrc/menu/xonotic/util.qc +++ b/qcsrc/menu/xonotic/util.qc @@ -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 != "") -- 2.39.2