File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 551 . Added ability to buy multiple packs
661 . Added confirmation for buying packs with UCP
771 . Added plugin API to buy multiple packs
8+ ### Fixes
9+ 1 . Fixed bug with base card skin setting
810
911## Version 0.44.0 (2021-05-30)
1012### New Features
Original file line number Diff line number Diff line change @@ -6,13 +6,18 @@ wrap(() => {
66 category : 'Card Skins' ,
77 } ) ;
88
9- globalSet ( 'createCard' , function createCard ( card ) {
9+ function createCard ( card ) {
1010 const image = card . baseImage ;
1111 if ( setting . value ( ) && image && image !== card . image ) {
1212 card . typeSkin = 0 ;
1313 card . originalImage = card . image ;
1414 card . image = image ;
1515 }
1616 return this . super ( card ) ;
17+ }
18+
19+ eventManager . on ( ':loaded' , ( ) => {
20+ if ( ! window . createCard ) return ;
21+ globalSet ( 'createCard' , createCard ) ;
1722 } ) ;
1823} ) ;
You can’t perform that action at this time.
0 commit comments