File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/TrackerCouncil.Smz3.SeedGenerator/Generation Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: .NET Build + Test + Publish
22
33on :
44 push :
5- branches : [main]
5+ branches : [main, betus-april-fools ]
66 pull_request :
77 branches : [main]
88
Original file line number Diff line number Diff line change 11using System . IO ;
2+ using System . Linq ;
23using TrackerCouncil . Smz3 . Data ;
34using TrackerCouncil . Smz3 . Data . Options ;
45using TrackerCouncil . Smz3 . Data . Services ;
@@ -18,15 +19,15 @@ public SpritePatcherService(SpriteService spriteService)
1819
1920 public void ApplySpriteOptions ( byte [ ] bytes , out string linkSpriteName , out string samusSpriteName )
2021 {
21- var linkSprite = _spriteService . GetSprite ( SpriteType . Link ) ;
22+ var linkSprite = _spriteService . Sprites . First ( x => x is { SpriteType : SpriteType . Link , Name : "Captain Novolin" } ) ;
2223 ApplyRdcSpriteTo ( linkSprite , bytes ) ;
2324 linkSpriteName = string . IsNullOrEmpty ( linkSprite . Name ) ? "Link" : linkSprite . Name ;
2425
25- var samusSprite = _spriteService . GetSprite ( SpriteType . Samus ) ;
26+ var samusSprite = _spriteService . Sprites . First ( x => x is { SpriteType : SpriteType . Samus , Name : "Captain Novolin" } ) ;
2627 ApplyRdcSpriteTo ( samusSprite , bytes ) ;
2728 samusSpriteName = string . IsNullOrEmpty ( samusSprite . Name ) ? "Samus" : samusSprite . Name ;
2829
29- var shipSprite = _spriteService . GetSprite ( SpriteType . Ship ) ;
30+ var shipSprite = _spriteService . Sprites . First ( x => x is { SpriteType : SpriteType . Ship , Name : "Captain's Endocrinologist" } ) ;
3031 ApplyShipSpriteTo ( shipSprite , bytes ) ;
3132 }
3233
You can’t perform that action at this time.
0 commit comments