Skip to content

Fix control point progress recovery NPE#886

Merged
Electroid merged 1 commit into
PGMDev:devfrom
Pugzy:capture-progress-fix
Jun 4, 2021
Merged

Fix control point progress recovery NPE#886
Electroid merged 1 commit into
PGMDev:devfrom
Pugzy:capture-progress-fix

Conversation

@Pugzy

@Pugzy Pugzy commented Jun 4, 2021

Copy link
Copy Markdown
Contributor

Fixes issue described in #dev Discord chat. The capture progress is retained by a different team once they take over the hill.

Video example: https://youtu.be/R5EZBafHEx4

Adds/fixes null check which was previously mistakenly checking for nullness of team not subtractCaptureTime (which does return null). This also fixes up a few formatting issues from the control point PR (new lines, method commends and some ZERO use.

Signed-off-by: Pugzy pugzy@mail.com

Signed-off-by: Pugzy <pugzy@mail.com>
@Pugzy Pugzy requested a review from Electroid as a code owner June 4, 2021 20:41
@Electroid Electroid merged commit 66455cd into PGMDev:dev Jun 4, 2021
@Electroid Electroid added the bug Something isn't working label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

2 participants