From: Samual Lenks Date: Mon, 27 Jan 2014 17:45:57 +0000 (-0500) Subject: 30 minute auto update time, also use radio group 3 X-Git-Tag: xonotic-v0.8.0~139^2~1^2~22 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7d3d9d933235dbc9f2d454b2e519d17d3ba6aa49;p=xonotic%2Fxonotic-data.pk3dir.git 30 minute auto update time, also use radio group 3 --- diff --git a/qcsrc/common/playerstats.qh b/qcsrc/common/playerstats.qh index 81e0bab83..71c0029db 100644 --- a/qcsrc/common/playerstats.qh +++ b/qcsrc/common/playerstats.qh @@ -104,7 +104,7 @@ float PS_D_LASTGAMECOUNT; #define PS_D_STATUS_RECEIVED 1 var float PlayerStats_PlayerDetail_Status = PS_D_STATUS_IDLE; var string autocvar_g_playerstats_playerdetail_uri = "http://stats.xonotic.org/player/me"; -var float autocvar_g_playerstats_playerdetail_autoupdatetime = 3600; // automatically update every 60 minutes anyway +var float autocvar_g_playerstats_playerdetail_autoupdatetime = 1800; // automatically update every 30 minutes anyway void PlayerStats_PlayerDetail(void); void PlayerStats_PlayerDetail_CheckUpdate(void); void PlayerStats_PlayerDetail_Handler(entity fh, entity p, float status); diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_profile.c b/qcsrc/menu/xonotic/dialog_multiplayer_profile.c index 751994791..4d1aeb1d7 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_profile.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer_profile.c @@ -164,9 +164,9 @@ void XonoticProfileTab_fill(entity me) #define GENDERWIDTH_LENGTH 2.5 #define GENDERWIDTH_ITEM (GENDERWIDTH_LENGTH / 3) me.TDempty(me, GENDERWIDTH_OFFSET); - me.TD(me, 1, GENDERWIDTH_ITEM, e = makeXonoticRadioButton(1, "cl_gender", "2", _("Female"))); - me.TD(me, 1, GENDERWIDTH_ITEM, e = makeXonoticRadioButton(1, "cl_gender", "1", _("Male"))); - me.TD(me, 1, GENDERWIDTH_ITEM, e = makeXonoticRadioButton(1, "cl_gender", "0", _("Undisclosed"))); + me.TD(me, 1, GENDERWIDTH_ITEM, e = makeXonoticRadioButton(3, "cl_gender", "2", _("Female"))); + me.TD(me, 1, GENDERWIDTH_ITEM, e = makeXonoticRadioButton(3, "cl_gender", "1", _("Male"))); + me.TD(me, 1, GENDERWIDTH_ITEM, e = makeXonoticRadioButton(3, "cl_gender", "0", _("Undisclosed"))); #endif me.gotoRC(me, me.rows - 1, 0);