This commit is contained in:
Loki 2011-09-16 00:00:55 +03:00
parent 970bef84d1
commit 6ab12783c9

View file

@ -60,6 +60,7 @@ public class ConditionalOneShotEffect extends OneShotEffect<ConditionalOneShotEf
public ConditionalOneShotEffect ( ConditionalOneShotEffect effect ) {
super(effect);
this.effect = (OneShotEffect) effect.effect.copy();
if (effect.otherwiseEffect != null)
this.otherwiseEffect = (OneShotEffect) effect.otherwiseEffect.copy();
this.condition = effect.condition;
}