fixing up update check
This commit is contained in:
parent
1e9bcdd8ca
commit
fcb11e6281
@ -431,11 +431,12 @@ public void FinishedStageRaceZone(int client)
|
|||||||
{
|
{
|
||||||
//no start zone, we use round time
|
//no start zone, we use round time
|
||||||
CPrintToChat(client, "{green}[UNLOZE] Client: %N Time: 0%i:%.4f", client, g_iRoundMinutes, g_fRoundSeconds);
|
CPrintToChat(client, "{green}[UNLOZE] Client: %N Time: 0%i:%.4f", client, g_iRoundMinutes, g_fRoundSeconds);
|
||||||
if ((g_iRoundMinutes < minutes) || (g_iRoundMinutes == minutes && g_fRoundSeconds > leftover_seconds)
|
if (g_iRoundMinutes < minutes)
|
||||||
|| (minutes == 0.0 && leftover_seconds == 0.0))
|
sendMYSQL(client, g_iRoundMinutes, g_fRoundSeconds, player_stage[client]);
|
||||||
{
|
else if (g_iRoundMinutes == minutes && g_fRoundSeconds > leftover_seconds)
|
||||||
|
sendMYSQL(client, g_iRoundMinutes, g_fRoundSeconds, player_stage[client]);
|
||||||
|
else if (minutes == 0.0 && leftover_seconds == 0.0)
|
||||||
sendMYSQL(client, g_iRoundMinutes, g_fRoundSeconds, player_stage[client]);
|
sendMYSQL(client, g_iRoundMinutes, g_fRoundSeconds, player_stage[client]);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -445,11 +446,12 @@ public void FinishedStageRaceZone(int client)
|
|||||||
//tricking ppl !hehe
|
//tricking ppl !hehe
|
||||||
CPrintToChat(client, "{green}[UNLOZE] Stage: %i", player_stage[client]);
|
CPrintToChat(client, "{green}[UNLOZE] Stage: %i", player_stage[client]);
|
||||||
CPrintToChat(client, "{green}[UNLOZE] Client: %N Time: 0%i:%.4f", client, l_iCalculateMins, l_fCalculateSecs);
|
CPrintToChat(client, "{green}[UNLOZE] Client: %N Time: 0%i:%.4f", client, l_iCalculateMins, l_fCalculateSecs);
|
||||||
if ((l_iCalculateMins < minutes) || (l_iCalculateMins == minutes && l_fCalculateSecs > leftover_seconds)
|
if (l_iCalculateMins < minutes)
|
||||||
|| (minutes == 0.0 && leftover_seconds == 0.0))
|
sendMYSQL(client, l_iCalculateMins, l_fCalculateSecs, player_stage[client]);
|
||||||
{
|
else if (l_iCalculateMins == minutes && l_fCalculateSecs > leftover_seconds)
|
||||||
|
sendMYSQL(client, l_iCalculateMins, l_fCalculateSecs, player_stage[client]);
|
||||||
|
else if (minutes == 0.0 && leftover_seconds == 0.0)
|
||||||
sendMYSQL(client, l_iCalculateMins, l_fCalculateSecs, player_stage[client]);
|
sendMYSQL(client, l_iCalculateMins, l_fCalculateSecs, player_stage[client]);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user