scoreboard closing fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2652 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -7,7 +7,13 @@ void *scoremenu = NULL, *teammenu = NULL, *ctfmenu = NULL;
|
||||
|
||||
void showscores(bool on)
|
||||
{
|
||||
menuset(on ? (m_flags ? ctfmenu : (m_teammode ? teammenu : scoremenu)) : NULL);
|
||||
if(on) menuset(m_flags ? ctfmenu : (m_teammode ? teammenu : scoremenu));
|
||||
else
|
||||
{
|
||||
closemenu("score");
|
||||
closemenu("team score");
|
||||
closemenu("ctf score");
|
||||
}
|
||||
}
|
||||
|
||||
COMMAND(showscores, ARG_DOWN);
|
||||
|
||||
Reference in New Issue
Block a user