Skip to content

Commit

Permalink
fix: Initial costumeIndex for sprite not working #317 (#322)
Browse files Browse the repository at this point in the history
* fix: Initial costumeIndex for sprite not working #317

* change space to tab
  • Loading branch information
qlli authored Sep 6, 2024
1 parent bd0c27a commit 41a8b10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sprite.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (p *Sprite) init(
} else {
p.baseObj.initWith(base, sprite, shared)
}
p.defaultCostumeIndex = p.baseObj.costumeIndex_
p.eventSinks.init(&g.sinkMgr, p)

p.gamer = gamer
Expand Down

0 comments on commit 41a8b10

Please sign in to comment.