Skip to content

Commit e0226f1

Browse files
Change active -> activeSelf
1 parent c2c1d85 commit e0226f1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

InscryptionCommunityPatch/PixelTutor/PixelPlayableCardArray.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,11 @@ private void InitialiseButtons(List<CardInfo> cards, bool deckReview, bool forPo
158158
}
159159
private void CleanUpButtons()
160160
{
161-
if (forwardButton.gameObject.active)
161+
if (forwardButton.gameObject.activeSelf)
162162
{
163163
forwardButton.gameObject.SetActive(false);
164164
backButton.gameObject.SetActive(false);
165165
}
166-
//Destroy(forwardButton.gameObject);
167-
//Destroy(backButton.gameObject);
168166
}
169167
private void EnableButtons(bool enable)
170168
{

0 commit comments

Comments
 (0)