Skip to content

Commit

Permalink
add rainbow wave icon
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBearodactyl committed Jun 7, 2024
1 parent 03715a1 commit 24b4a5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"android": "2.206"
},
"version": "v1.1.0",
"id": "the_bearodactyl.gay-wave",
"name": "Gay Wave (fomerly trail)",
"id": "the_bearodactyl.gay-wave-trail",
"name": "Gay Wave Trail",
"developer": "The Bearodactyl",
"description": "make your wave (and kayla) a raging homosexual >:3",
"settings": {
Expand Down
10 changes: 6 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ struct MyPlayLayer : Modify<MyPlayLayer, PlayLayer> {
m_player1->m_waveTrail
->setColor( rainbowColor );

if ( rainbow_icon ) {
if ( rainbow_icon && m_player1->m_isDart ) {
m_player1->setColor( rainbowColor );
}
}
Expand All @@ -80,7 +80,7 @@ struct MyPlayLayer : Modify<MyPlayLayer, PlayLayer> {
? rainbowColor2
: rainbowColor );

if ( rainbow_icon ) {
if ( rainbow_icon && m_player1->m_isDart ) {
m_player2->setColor( rainbowColor2 );
}
}
Expand All @@ -89,7 +89,7 @@ struct MyPlayLayer : Modify<MyPlayLayer, PlayLayer> {
m_player1->m_waveTrail
->setColor( gradientColor );

if ( rainbow_icon ) {
if ( rainbow_icon && m_player1->m_isDart ) {
m_player1->setColor( gradientColor );
}
}
Expand All @@ -100,7 +100,9 @@ struct MyPlayLayer : Modify<MyPlayLayer, PlayLayer> {
? gradientColor
: gradientColor2 );

m_player2->setColor( ! mirror_players ? gradientColor : gradientColor2 );
if ( rainbow_icon && m_player2->m_isDart ) {
m_player2->setColor( ! mirror_players ? gradientColor : gradientColor2 );
}
}
}
}
Expand Down

0 comments on commit 24b4a5f

Please sign in to comment.