mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 02:18:26 +00:00
Fixed restart not removing pause status. (#590)
This commit is contained in:
parent
d0eba8fd71
commit
36686e37b0
@ -1217,6 +1217,7 @@ void StartTimer(int client, int track)
|
|||||||
|
|
||||||
if(result == Plugin_Continue)
|
if(result == Plugin_Continue)
|
||||||
{
|
{
|
||||||
|
gB_ClientPaused[client] = false;
|
||||||
gI_Strafes[client] = 0;
|
gI_Strafes[client] = 0;
|
||||||
gI_Jumps[client] = 0;
|
gI_Jumps[client] = 0;
|
||||||
gI_TotalMeasures[client] = 0;
|
gI_TotalMeasures[client] = 0;
|
||||||
|
|||||||
@ -534,7 +534,7 @@ public void OnMapStart()
|
|||||||
{
|
{
|
||||||
for(int iTeam = 1; iTeam <= 2; iTeam++)
|
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))
|
if(DispatchSpawn(iSpawnPoint))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user