Skip to content

Commit c03b02b

Browse files
authored
SetGroupIDLayer::updateLabel() 1.920 (#1299)
1 parent 169d92f commit c03b02b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bindings/1.920/GeometryDash.bro

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6940,7 +6940,14 @@ class SetGroupIDLayer : FLAlertLayer {
69406940
void onDown(cocos2d::CCObject* sender) = win 0xf7e20;
69416941
void onUp(cocos2d::CCObject* sender) = win 0xf7dd0;
69426942
void updateGroupID() = win 0xf7e80;
6943-
void updateLabel();
6943+
void updateLabel() = win inline {
6944+
if (m_groupIndex < 0) {
6945+
m_groupLabel->setString("Mixed");
6946+
}
6947+
else {
6948+
m_groupLabel->setString(cocos2d::CCString::createWithFormat("%i", m_groupIndex)->getCString());
6949+
}
6950+
}
69446951

69456952
virtual void keyBackClicked();
69466953

0 commit comments

Comments
 (0)