mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 15:07:28 +00:00
fixed formatting
This commit is contained in:
parent
b05c41fe8f
commit
2a00d50672
@ -39,11 +39,9 @@ void LegoDieRoll::OnTimerDone(Entity* self, std::string timerName) {
|
|||||||
auto* owner = self->GetOwner();
|
auto* owner = self->GetOwner();
|
||||||
auto* missionComponent = owner->GetComponent<MissionComponent>();
|
auto* missionComponent = owner->GetComponent<MissionComponent>();
|
||||||
|
|
||||||
if (missionComponent != nullptr)
|
if (missionComponent != nullptr) {
|
||||||
{
|
|
||||||
const auto rollMissionState = missionComponent->GetMissionState(756);
|
const auto rollMissionState = missionComponent->GetMissionState(756);
|
||||||
if (rollMissionState == MissionState::MISSION_STATE_ACTIVE)
|
if (rollMissionState == MissionState::MISSION_STATE_ACTIVE) {
|
||||||
{
|
|
||||||
missionComponent->ForceProgress(756, 1103, 1);
|
missionComponent->ForceProgress(756, 1103, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user