mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-22 21:43:35 +00:00
Fix Plunger Gun not being removed from inventory after mission (#444)
This commit is contained in:
parent
56765d355b
commit
d9874b452e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user