mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
Fixed invalid client error on CP save.
This commit is contained in:
parent
535fee9785
commit
26493c85a8
@ -1774,6 +1774,13 @@ public int MenuHandler_Checkpoints(Menu menu, MenuAction action, int param1, int
|
||||
|
||||
bool SaveCheckpoint(int client, int index, bool overflow = false)
|
||||
{
|
||||
// ???
|
||||
// nairda somehow triggered an error that requires this
|
||||
if(!IsValidClient(client))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
int target = client;
|
||||
|
||||
int iObserverMode = GetEntProp(client, Prop_Send, "m_iObserverMode");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user