Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Commit

Permalink
Bugfix: Production panel now updates on worker change
Browse files Browse the repository at this point in the history
  • Loading branch information
chaorace committed Nov 3, 2016
1 parent 00e65ce commit 0d8c236
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UI/Panels/ProductionPanel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2241,7 +2241,8 @@ function Initialize()
LuaEvents.NotificationPanel_ChooseProduction.Add( OnNotificationPanelChooseProduction );
LuaEvents.StrageticView_MapPlacement_ProductionOpen.Add( OnStrategicViewMapPlacementProductionOpen );
LuaEvents.Tutorial_ProductionOpen.Add( OnTutorialProductionOpen );


Events.CityWorkerChanged.Add(Refresh);
Events.CityProductionChanged.Add( OnCityProductionChanged );
Events.CityProductionCompleted.Add(OnCityProductionCompleted);

Expand Down

0 comments on commit 0d8c236

Please sign in to comment.