Fixed bug am51368 - Unused variable

This commit is contained in:
Steve Dudenhoeffer 2007-02-19 06:16:56 +00:00
parent 39d6cb7840
commit 73219c45dd

View File

@ -1268,11 +1268,8 @@ public eventStartGame()
public eventStartRound() public eventStartRound()
{ {
new iTeam, id, i new iTeam, id, i
new iRoundTime
iRoundTime = read_data(1) if (read_data(1) >= floatround(get_cvar_float("mp_roundtime") * 60.0,floatround_floor))
if (read_data(1) == floatround(get_cvar_float("mp_roundtime") * 60.0,floatround_floor))
{ {
#if defined STATSX_DEBUG #if defined STATSX_DEBUG
log_amx("Reset round stats") log_amx("Reset round stats")