Fix effect removal of 'IntUpgradeProductProgressBar' when closing the interaction menu of a producer (#1796).

qteditor
Clonkonaut 2016-07-25 17:42:15 +02:00
parent b3b8e01f60
commit 48b5f27f14
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ public func FxIntUpgradeProductProgressBarOnMenuOpened(object target, effect fx,
public func FxIntUpgradeProductProgressBarTimer(object target, effect fx, int time)
{
if (fx.menu_target == nil) return FX_OK;
if (fx.menu_target == nil) return -1;
// Find (new?) production effect if not already given.
if (fx.production_effect == nil)
{