mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
bandaid fix for checkpoint theft exploit
This commit is contained in:
parent
b4500cb2d5
commit
a584082fd7
@ -1914,7 +1914,7 @@ bool SaveCheckpoint(int client, int index, bool overflow = false)
|
|||||||
cpcache[bCPSegmented] = false;
|
cpcache[bCPSegmented] = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
cpcache[bCPSpectated] = (client != target);
|
cpcache[bCPSpectated] = (client != target || bCPSegmented); // spoof a segmented cp to avoid abuse(? my brain is melting rn)
|
||||||
|
|
||||||
if(overflow)
|
if(overflow)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user