Skip to content

Commit

Permalink
remove unnecessary stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaKeks committed Jan 8, 2025
1 parent 94838c8 commit 91e615c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions src/kz/kz_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,7 @@ void KZPlayer::OnPlayerActive()
g_pKZStyleManager->RefreshStyles(this);

this->optionService->OnPlayerActive();

if (this->globalService != nullptr)
{
this->globalService->OnPlayerActive();
}
this->globalService->OnPlayerActive();
}

void KZPlayer::OnAuthorized()
Expand Down
2 changes: 0 additions & 2 deletions src/kz/timer/kz_timer.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#pragma once

#include <optional>

#include "../kz.h"
#include "../checkpoint/kz_checkpoint.h"
#include "kz/course/kz_course.h"
Expand Down

0 comments on commit 91e615c

Please sign in to comment.