Fix windup suit
This commit is contained in:
parent
fd22ff1975
commit
6af25bd922
|
@ -183,7 +183,7 @@ public class SetWindup extends GadgetSet
|
|||
|
||||
if (_song != null)
|
||||
{
|
||||
data.NotePlayer = new SingleRunNotePlayer(_song, player);
|
||||
data.NotePlayer = new SingleRunNotePlayer(_song, player).start();
|
||||
}
|
||||
}
|
||||
// Effect is charging
|
||||
|
|
|
@ -41,12 +41,14 @@ public class SingleRunNotePlayer extends LoopedNotePlayer
|
|||
lifetime.register(this);
|
||||
}
|
||||
|
||||
public void start()
|
||||
public SingleRunNotePlayer start()
|
||||
{
|
||||
if (!_lifetime.isActive())
|
||||
{
|
||||
_lifetime.start();
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public void end()
|
||||
|
|
Loading…
Reference in New Issue