Fix Plunger Gun not being removed from inventory after mission (#444)

This commit is contained in:
Marcono1234 2022-02-07 21:45:56 +01:00 committed by GitHub
parent 56765d355b
commit d9874b452e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ void NpcCowboyServer::OnMissionDialogueOK(Entity* self, Entity* target, int miss
inventoryComponent->AddItem(14378, 1);
}
}
else if (missionState == MissionState::MISSION_STATE_READY_TO_COMPLETE || missionState == MissionState::MISSION_STATE_READY_TO_COMPLETE)
else if (missionState == MissionState::MISSION_STATE_READY_TO_COMPLETE || missionState == MissionState::MISSION_STATE_COMPLETE_READY_TO_COMPLETE)
{
inventoryComponent->RemoveItem(14378, 1);
}