mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
pr_exec.c (PR_Profile_f): the profile command can only be run when the server is active.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@67 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
2afebd8dc1
commit
ee309ae2fd
1 changed files with 3 additions and 0 deletions
|
@ -227,6 +227,9 @@ void PR_Profile_f (void)
|
||||||
int num;
|
int num;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
if (!sv.active)
|
||||||
|
return;
|
||||||
|
|
||||||
num = 0;
|
num = 0;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue