Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nordegraf committed Dec 15, 2021
1 parent b05c41f commit 2a00d50
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dScripts/LegoDieRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ void LegoDieRoll::OnTimerDone(Entity* self, std::string timerName) {
auto* owner = self->GetOwner();
auto* missionComponent = owner->GetComponent<MissionComponent>();

if (missionComponent != nullptr)
{
if (missionComponent != nullptr) {
const auto rollMissionState = missionComponent->GetMissionState(756);
if (rollMissionState == MissionState::MISSION_STATE_ACTIVE)
{
if (rollMissionState == MissionState::MISSION_STATE_ACTIVE) {
missionComponent->ForceProgress(756, 1103, 1);
}
}
Expand Down

0 comments on commit 2a00d50

Please sign in to comment.