Furnace window progressbars are initialized when the window is opened
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1613 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -91,6 +91,8 @@ void cFurnaceEntity::UsedBy(cPlayer * a_Player)
|
||||
if (a_Player->GetWindow() != Window)
|
||||
{
|
||||
a_Player->OpenWindow(Window);
|
||||
BroadcastProgress(PROGRESSBAR_FUEL, m_LastProgressFuel);
|
||||
BroadcastProgress(PROGRESSBAR_SMELTING, m_LastProgressCook);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user