From 73219c45dd39fe4ba1c5cc75b8e860d4a88df599 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Mon, 19 Feb 2007 06:16:56 +0000 Subject: [PATCH] Fixed bug am51368 - Unused variable --- plugins/cstrike/statsx.sma | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/cstrike/statsx.sma b/plugins/cstrike/statsx.sma index 0136a817..8515ac92 100755 --- a/plugins/cstrike/statsx.sma +++ b/plugins/cstrike/statsx.sma @@ -1268,11 +1268,8 @@ public eventStartGame() public eventStartRound() { 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 log_amx("Reset round stats")