X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_multiplayer_join_serverinfo.c;h=4e6d6f5909ea7181374a4b8a7695cf77df0b6b55;hb=f9c08b5c298e2604040f6af91f23a85e0e781fa4;hp=e33be7bb1d6f708043ea064bda9d0bac2931cb7c;hpb=b517c2b5df8b140a9385b0b20832d293daf66252;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.c b/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.c index e33be7bb1..4e6d6f590 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.c @@ -154,8 +154,7 @@ void XonoticServerInfoDialog_loadServerInfo(entity me, float i) s = gethostcachestring(SLIST_FIELD_MOD, i); if(s != "data") - if(modname == "Xonotic") - modname = s; + modname = sprintf(_("%s (%s)"), modname, s); j = MapInfo_Type_FromString(typestr); // try and get the real name of the game type if(j) { typestr = MapInfo_Type_ToText(j); } // only set it if we actually found it