Fixed GameHUD spam and an annoying warning

This commit is contained in:
guzlad
2025-10-10 02:53:27 +02:00
parent 07cb5015cf
commit fbb592fbe8
14 changed files with 3 additions and 3 deletions

View File

@@ -49,8 +49,8 @@ func handle_main_hud() -> void:
world_num = ["A", "B", "C", "D"][int(world_num) % 10]
elif int(world_num) < 1:
world_num = " "
else:
print(Global.world_num)
# else:
# print(Global.world_num)
%LevelNum.text = world_num + "-" + str(Global.level_num)
%Crown.visible = Global.second_quest
%Time.text = " " + str(Global.time).pad_zeros(3)
@@ -135,7 +135,7 @@ func handle_yoshi_radar() -> void:
break
%Radar.frame = Global.level_num
%ModernRadar.frame = Global.level_num
if has_egg == false or ChallengeModeHandler.is_coin_collected(5):
if has_egg == false or ChallengeModeHandler.is_coin_collected(ChallengeModeHandler.CoinValues.YOSHI_EGG):
%Radar.get_node("AnimationPlayer").play("RESET")
%ModernRadar.get_node("AnimationPlayer").play("RESET")
return