mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
Fixed error when using !r while dead on KZ style.
This commit is contained in:
parent
e298dbbc67
commit
6942523464
@ -2828,7 +2828,7 @@ public void Shavit_OnWorldRecord(int client, int style, float time, int jumps, i
|
||||
|
||||
public void Shavit_OnRestart(int client, int track)
|
||||
{
|
||||
if(gA_StyleSettings[gI_Style[client]].bKZCheckpoints && GetClientMenu(client, null) == MenuSource_None)
|
||||
if(gA_StyleSettings[gI_Style[client]].bKZCheckpoints && GetClientMenu(client, null) == MenuSource_None && IsPlayerAlive(client))
|
||||
{
|
||||
OpenKZCPMenu(client);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user