mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
oops
This commit is contained in:
parent
b5181473b0
commit
1d8d43638b
@ -1552,7 +1552,7 @@ public void Shavit_OnWRDeleted(int style, int id, int track)
|
|||||||
float time = 0.0;
|
float time = 0.0;
|
||||||
Shavit_GetWRTime(style, time, track);
|
Shavit_GetWRTime(style, time, track);
|
||||||
|
|
||||||
if(view_as<int>(gA_FrameCache[style][track][0]) > 0 && view_as<float>(gA_FrameCache[style][track][1]) + 0.1 <= time) // + 0.1 to fix rounding issues
|
if(view_as<int>(gA_FrameCache[style][track][0]) > 0 && view_as<float>(gA_FrameCache[style][track][1]) - 0.1 <= time) // -0.1 to fix rounding issues
|
||||||
{
|
{
|
||||||
DeleteReplay(style, track);
|
DeleteReplay(style, track);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user