X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fscores.qc;h=b56065deda01461475cc383317f147b8d4ef9dd7;hb=2cb25c40e6e25b258a3db8afa9fbfce1fd3e235b;hp=d8e095db00be22114aa9592b51550e35ec41d27d;hpb=1f1c714c231334ca941e029e7ab2094fff25b476;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/scores.qc b/qcsrc/server/scores.qc index d8e095db0..b56065ded 100644 --- a/qcsrc/server/scores.qc +++ b/qcsrc/server/scores.qc @@ -173,7 +173,7 @@ float ScoreInfo_SendEntity(entity to, float sf) { float i; WriteByte(MSG_ENTITY, ENT_CLIENT_SCORES_INFO); - WriteByte(MSG_ENTITY, game); + WriteInt24_t(MSG_ENTITY, MapInfo_LoadedGametype); for(i = 0; i < MAX_SCORE; ++i) { WriteString(MSG_ENTITY, scores_label[i]); @@ -386,6 +386,7 @@ void WinningConditionHelper() s = strcat(s, ":", autocvar_g_xonoticversion); s = strcat(s, ":P", ftos(cvar_purechanges_count)); s = strcat(s, ":S", ftos(nJoinAllowed(0))); + s = strcat(s, ":F", ftos(serverflags)); s = strcat(s, "::", GetPlayerScoreString(world, 1)); // make this 1 once we can, note: this doesn't contain any : fullstatus = autocvar_g_full_getstatus_responses;