mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
Update zDarkTigerStats.cs
This commit is contained in:
parent
ce2177ca51
commit
5df76569d2
1 changed files with 3 additions and 2 deletions
|
|
@ -1580,6 +1580,7 @@ package dtStatsGame{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
function chkGrounded(%player){
|
function chkGrounded(%player){
|
||||||
|
|
@ -3740,14 +3741,14 @@ function getTimeDif(%time){
|
||||||
%ms += mFloor((%min*60)+0.5) * (60 * 1000); // %min * 60 to convert back to mins , * 60kms for one min
|
%ms += mFloor((%min*60)+0.5) * (60 * 1000); // %min * 60 to convert back to mins , * 60kms for one min
|
||||||
return mFloor(%ms);
|
return mFloor(%ms);
|
||||||
}
|
}
|
||||||
function genBlanks(){ // optimization thing saves on haveing to do it with every setValueField
|
function genBlanks(){ // optimization thing saves on having to do it with every setValueField
|
||||||
$dtStats::blank["g"] = $dtStats::blank["t"] = "";
|
$dtStats::blank["g"] = $dtStats::blank["t"] = "";
|
||||||
|
|
||||||
if($dtStats::MaxNumOfGames > 300){
|
if($dtStats::MaxNumOfGames > 300){
|
||||||
$dtStats::MaxNumOfGames = 300; //cap it
|
$dtStats::MaxNumOfGames = 300; //cap it
|
||||||
}
|
}
|
||||||
$dtStats::blank["g"] = $dtStats::blank["t"] = 0;
|
$dtStats::blank["g"] = $dtStats::blank["t"] = 0;
|
||||||
for(%i=0; %i < $dtStats::MaxNumOfGames-2; %i++){
|
for(%i=0; %i < $dtStats::MaxNumOfGames-1; %i++){
|
||||||
$dtStats::blank["g"] = $dtStats::blank["g"] TAB 0;
|
$dtStats::blank["g"] = $dtStats::blank["g"] TAB 0;
|
||||||
}
|
}
|
||||||
for(%i=0; %i < 8; %i++){
|
for(%i=0; %i < 8; %i++){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue