Open CodingPenguin1 opened 9 months ago
the defuser disable event was likely not recorded, so the win condition defaults to a defuse.
can you send the replay to ben@ctos.sh @CodingPenguin1?
my guess is the match timer was not at 0.00, so the disable event was ignored
@redraskal sent
@CodingPenguin1 the disable timer did not reach 0 when stopped (ended on 0.022). r6-dissect should probably rely on an actual defuser state as opposed to the timer.
this requires more research, not sure when i'll have a solution
No worries, glad to have found an edge case for you
Describe the bug Team can be marked as having won a round even though the lost it. Score is updated correctly.
To Reproduce I believe this issue is caused when the defuser is finished being planted after the action phase ends. In the case I found, there was a 1v1 in the last seconds of the round. The attacker planted the defuser, starting before the round ended, and finishing after the round would have ended. This, of course, adds 45s to the timer for the defender to stop the defuser. In this case, that happened. The defender killed the attacker and stopped the defuser. The following was output to the JSON after running r6-dissect
Expected behavior The "won" value should be flipped for each team. "Kenough Uni" should have
true
for "won" and "UC Acad"false
.