From: z411 Date: Wed, 24 Nov 2021 16:45:20 +0000 (-0300) Subject: ToS WIP: Improved log messages for now X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=86023db7ef3a5f13e741df1c50fb5dee7ed2599c;p=xonotic%2Fxonotic-data.pk3dir.git ToS WIP: Improved log messages for now --- 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 != "")