diff options
Diffstat (limited to 'common')
| -rwxr-xr-x | common/status.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/status.pl b/common/status.pl index 4e9ad28..32cb9e7 100755 --- a/common/status.pl +++ b/common/status.pl @@ -95,11 +95,11 @@ sub getResponse my $reply = ""; for ( 0..$info{numplayers}-1 ) { - $reply .= "\\player_$_\\" .$player{player_}; + $reply .= "\\player_$_\\" .$player{player_}.$_; # Player0 $reply .= "\\frags_$_\\" .$player{frags_}; $reply .= "\\health_$_\\" .$player{health_}; $reply .= "\\deaths_$_\\" .$player{deaths_}; - $reply .= "\\ping_$_\\" .int(rand(400)); # random number! + $reply .= "\\ping_$_\\" .int((rand(400))+24); # random number! $reply .= "\\team_$_\\" .$player{team_}; $reply .= "\\mesh_$_\\" .$player{mesh_}; $reply .= "\\skin_$_\\" .$player{skin_}; @@ -117,11 +117,11 @@ sub getResponse $reply .= "\\" . join '\\', %rules; for ( 0..$info{numplayers}-1 ) { - $reply .= "\\player_$_\\" .$player{player_}; + $reply .= "\\player_$_\\" .$player{player_}.$_; # Player0 $reply .= "\\frags_$_\\" .$player{frags_}; $reply .= "\\health_$_\\" .$player{health_}; $reply .= "\\deaths_$_\\" .$player{deaths_}; - $reply .= "\\ping_$_\\" .int(rand(400)); # random number! + $reply .= "\\ping_$_\\" .int((rand(400))+24); # random number! $reply .= "\\team_$_\\" .$player{team_}; $reply .= "\\mesh_$_\\" .$player{mesh_}; $reply .= "\\skin_$_\\" .$player{skin_}; |
