Browse Source

Fixed can't set new values on iTween commands #479

master
Chris Gregan 9 years ago
parent
commit
ca92e18045
  1. 2
      Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs

2
Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs

@ -107,7 +107,7 @@ namespace Fungus
targetObjectOLD = null;
}
if (durationOLD == default(float))
if (durationOLD != default(float))
{
_duration.Value = durationOLD;
durationOLD = default(float);

Loading…
Cancel
Save