mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08: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[bCPSpectated] = (client != target);
|
||||
cpcache[bCPSpectated] = (client != target || bCPSegmented); // spoof a segmented cp to avoid abuse(? my brain is melting rn)
|
||||
|
||||
if(overflow)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user