1
0

Added HandleCraftItem call to ShiftClickedResult to make sure achievements are awarded (#4791)

This commit is contained in:
12xx12 2020-08-01 20:23:01 +02:00 committed by GitHub
parent fb3d3dac1e
commit 54e499c065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -692,6 +692,9 @@ void cSlotAreaCrafting::ShiftClickedResult(cPlayer & a_Player)
// Broadcast the window, we sometimes move items to different locations than Vanilla, causing needless desyncs:
m_ParentWindow.BroadcastWholeWindow();
// Added achievements processing
HandleCraftItem(Result, a_Player);
// If the recipe has changed, bail out:
if (!Recipe.GetResult().IsEqual(Result))
{