Skip to content

Commit

Permalink
Merge pull request #391 from guycalledfrank/fixprtautoplay
Browse files Browse the repository at this point in the history
Fix autoPlay for looped systems
  • Loading branch information
guycalledfrank committed Sep 11, 2015
2 parents 83cb13d + 153e77e commit 0008f22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ pc.extend(pc, function() {
this.data.model = this.psys;
this.emitter.psys = this.psys;

if (!this.data.loop && !this.data.autoPlay) {
if (!this.data.autoPlay) {
this.pause();
}
}
Expand Down

0 comments on commit 0008f22

Please sign in to comment.