scoreboard crash-fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3840 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -217,8 +217,12 @@ void consolescores()
|
||||
{
|
||||
serverinfo *s = getconnectedserverinfo();
|
||||
string text;
|
||||
filtertext(text, s->sdesc, 1);
|
||||
if(s) printf(", %s:%d %s", s->name, s->port, text);
|
||||
if(s)
|
||||
{
|
||||
filtertext(text, s->sdesc, 1);
|
||||
printf(", %s:%d %s", s->name, s->port, text);
|
||||
}
|
||||
|
||||
}
|
||||
printf("\n%sfrags deaths ratio cn%s name\n", m_flags ? "flags " : "", m_teammode ? " team" : "");
|
||||
loopv(scores)
|
||||
|
||||
Reference in New Issue
Block a user