@@ -968,19 +968,23 @@ public void onUpdate(final float pSecondsElapsed) {
968968 scoreShadow .attachToScene (bgScene );
969969 passiveObjects .add (scoreShadow );
970970 }
971-
972- if (Config .isComboburst ()) {
973- comboBurst = new ComboBurst (Config .getRES_WIDTH (), Config .getRES_HEIGHT ());
974- comboBurst .attachAll (bgScene );
975- }
976971 }
977972
978973 if (Config .getHideInGameUI () == 1 ) {
974+ removePassiveObject (scorebar );
979975 scorebar = null ;
980976 setUIVisible (false );
981977 ToastLogger .showText ("ghigui " + Config .getHideInGameUI (), false );
982978 }
983979
980+ if (Config .getHideInGameUI () == 0 ) {
981+ if (Config .isComboburst ()) {
982+ comboBurst = new ComboBurst (Config .getRES_WIDTH (), Config .getRES_HEIGHT ());
983+ comboBurst .attachAll (bgScene );
984+ }
985+ ToastLogger .showText ("ghigui " + Config .getHideInGameUI (), false );
986+ }
987+
984988 if (stat .getMod ().contains (GameMod .MOD_AUTO )) {
985989 final Sprite autoIcon = new Sprite (Utils .toRes (Config .getRES_WIDTH () - 140 ),
986990 Utils .toRes (100 ), ResourceManager .getInstance ().getTexture (
@@ -1477,7 +1481,9 @@ public void onUpdate(final float pSecondsElapsed) {
14771481 if (GameHelper .isFlashLight ()){
14781482 flashlightSprite .onBreak (true );
14791483 }
1480- setUIVisible (true );
1484+ if (Config .getHideInGameUI () == 1 ) {
1485+ setUIVisible (true );
1486+ }
14811487 if (scorebar != null ) scorebar .setVisible (false );
14821488 breakPeriods .poll ();
14831489 }
@@ -1488,7 +1494,9 @@ public void onUpdate(final float pSecondsElapsed) {
14881494 if (GameHelper .isFlashLight ()){
14891495 flashlightSprite .onBreak (false );
14901496 }
1491- setUIVisible (false );
1497+ if (Config .getHideInGameUI () == 1 ) {
1498+ setUIVisible (false );
1499+ }
14921500 }
14931501
14941502 if (objects .isEmpty () && activeObjects .isEmpty ()) {
0 commit comments