Allowed pausing in practice mode.

It was disabled before due to the mess with time calculation. Shouldn't be problematic now.
This commit is contained in:
shavit 2018-01-28 20:54:15 +02:00
parent 5ba897e274
commit 52b9c1e81f
2 changed files with 0 additions and 12 deletions

View File

@ -561,13 +561,6 @@ public Action Command_TogglePause(int client, int args)
return Plugin_Handled; return Plugin_Handled;
} }
if(gB_PracticeMode[client])
{
Shavit_PrintToChat(client, "%T", "PausePractice", client, gS_ChatStrings[sMessageWarning], gS_ChatStrings[sMessageText]);
return Plugin_Handled;
}
if(gB_ClientPaused[client]) if(gB_ClientPaused[client])
{ {
TeleportEntity(client, gF_PausePosition[client][0], gF_PausePosition[client][1], gF_PausePosition[client][2]); TeleportEntity(client, gF_PausePosition[client][0], gF_PausePosition[client][1], gF_PausePosition[client][2]);

View File

@ -105,11 +105,6 @@
"#format" "{1:s},{2:s}" "#format" "{1:s},{2:s}"
"en" "Timer has been {1}paused{2}." "en" "Timer has been {1}paused{2}."
} }
"PausePractice"
{
"#format" "{1:s},{2:s}"
"en" "You {1}are not{2} allowed to pause while in practice mode."
}
// ---------- Zones ---------- // // ---------- Zones ---------- //
"StartZoneUndefined" "StartZoneUndefined"
{ {