Fixed restart not removing pause status. (#590)

This commit is contained in:
shavit 2018-02-04 15:38:38 +02:00
parent d0eba8fd71
commit 36686e37b0
2 changed files with 2 additions and 1 deletions

View File

@ -1217,6 +1217,7 @@ void StartTimer(int client, int track)
if(result == Plugin_Continue)
{
gB_ClientPaused[client] = false;
gI_Strafes[client] = 0;
gI_Jumps[client] = 0;
gI_TotalMeasures[client] = 0;

View File

@ -534,7 +534,7 @@ public void OnMapStart()
{
for(int iTeam = 1; iTeam <= 2; iTeam++)
{
int iSpawnPoint = CreateEntityByName((iTeam == 1)? "info_player_terrorist":"info_player_counterterrorist");
int iSpawnPoint = CreateEntityByName((gEV_Type == Engine_TF2)? "info_player_teamspawn":((iTeam == 1)? "info_player_terrorist":"info_player_counterterrorist"));
if(DispatchSpawn(iSpawnPoint))
{