mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
Update WR deletion to properly delete new format replays.
This commit is contained in:
parent
42ee76c742
commit
d0075a6115
@ -1547,7 +1547,10 @@ void ClearFrames(int client)
|
||||
|
||||
public void Shavit_OnWRDeleted(int style, int id, int track)
|
||||
{
|
||||
if(view_as<int>(gA_FrameCache[style][track][0]) > 0)
|
||||
float time = 0.0;
|
||||
Shavit_GetWRTime(style, time, track);
|
||||
|
||||
if(view_as<int>(gA_FrameCache[style][track][0]) > 0 && view_as<float>(gA_FrameCache[style][track][1]) == time)
|
||||
{
|
||||
DeleteReplay(style, track);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user