fixed formatting

This commit is contained in:
Niklas Conen 2021-12-16 00:36:10 +01:00
parent b05c41fe8f
commit 2a00d50672

View File

@ -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);
}
}