Skip to content

Commit 687b3b0

Browse files
authored
Fix statsLabel not show after Director::restart() (#2581)
1 parent 8d64b2f commit 687b3b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/base/Director.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,6 +1048,7 @@ void Director::reset()
10481048
AX_SAFE_RELEASE_NULL(_FPSLabel);
10491049
AX_SAFE_RELEASE_NULL(_drawnBatchesLabel);
10501050
AX_SAFE_RELEASE_NULL(_drawnVerticesLabel);
1051+
_isStatusLabelUpdated = true;
10511052

10521053
// purge bitmap cache
10531054
FontFNT::purgeCachedData();

0 commit comments

Comments
 (0)