Merged revision 3260 from 1.77; Stats would not display on awkward mp_roundtime settings
This commit is contained in:
parent
8420823713
commit
b324e8ed9d
@ -566,7 +566,7 @@ public showStatus(id)
|
||||
|
||||
public eNewRound()
|
||||
{
|
||||
if (read_data(1) == floatround(get_cvar_float("mp_roundtime") * 60.0))
|
||||
if (read_data(1) == floatround(get_cvar_float("mp_roundtime") * 60.0,floatround_floor))
|
||||
{
|
||||
g_firstBlood = 1
|
||||
g_C4Timer = 0
|
||||
|
@ -1272,7 +1272,7 @@ public eventStartRound()
|
||||
|
||||
iRoundTime = read_data(1)
|
||||
|
||||
if (iRoundTime >= get_cvar_float("mp_roundtime") * 60)
|
||||
if (read_data(1) == floatround(get_cvar_float("mp_roundtime") * 60.0,floatround_floor))
|
||||
{
|
||||
#if defined STATSX_DEBUG
|
||||
log_amx("Reset round stats")
|
||||
|
Loading…
Reference in New Issue
Block a user