Skip to content

Commit 7935400

Browse files
committed
GJBaseGameLayer::togglePlayerStreakBlend
1 parent 238524a commit 7935400

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

bindings/2.2074/GeometryDash.bro

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11322,7 +11322,13 @@ class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate {
1132211322
if (disable) player->disablePlayerControls();
1132311323
else player->enablePlayerControls();
1132411324
}
11325-
void togglePlayerStreakBlend(bool) = imac 0x12cb50, m1 0x107c3c;
11325+
void togglePlayerStreakBlend(bool blend) = win inline, imac 0x12cb50, m1 0x107c3c, ios 0x1f3ef0 {
11326+
if (blend != m_gameState.m_playerStreakBlend) {
11327+
m_gameState.m_playerStreakBlend = blend;
11328+
m_player1->updateStreakBlend(blend);
11329+
m_player2->updateStreakBlend(blend);
11330+
}
11331+
}
1132611332
void togglePlayerVisibility(bool visible, bool player1) = win inline, m1 0x107c88, imac 0x12cba0, ios inline {
1132711333
if (player1)
1132811334
this->m_player1->toggleVisibility(visible);

0 commit comments

Comments
 (0)