forked from Mirrors/openclonk
Fix effect removal of 'IntUpgradeProductProgressBar' when closing the interaction menu of a producer (#1796).
parent
b3b8e01f60
commit
48b5f27f14
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue